allow the kernel to link with no arp (ether) devices
This commit is contained in:
parent
8567d6cad0
commit
01849b81ca
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: intr.c,v 1.13 1999/02/17 03:54:46 mrg Exp $ */
|
/* $NetBSD: intr.c,v 1.14 1999/05/30 07:36:28 mrg Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
@ -133,6 +133,8 @@ strayintr(fp)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#include "arp.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Level 1 software interrupt (could also be Sbus level 1 interrupt).
|
* Level 1 software interrupt (could also be Sbus level 1 interrupt).
|
||||||
* Three possible reasons:
|
* Three possible reasons:
|
||||||
@ -163,8 +165,10 @@ soft01intr(fp)
|
|||||||
splx(s);
|
splx(s);
|
||||||
sir.sir_which[SIR_NET] = 0;
|
sir.sir_which[SIR_NET] = 0;
|
||||||
#ifdef INET
|
#ifdef INET
|
||||||
|
#if NARP > 0
|
||||||
if (n & (1 << NETISR_ARP))
|
if (n & (1 << NETISR_ARP))
|
||||||
arpintr();
|
arpintr();
|
||||||
|
#endif
|
||||||
if (n & (1 << NETISR_IP))
|
if (n & (1 << NETISR_IP))
|
||||||
ipintr();
|
ipintr();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user