diff options
author | phk <phk@FreeBSD.org> | 2000-10-12 00:03:50 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-10-12 00:03:50 +0000 |
commit | 4d5d6d69caae71da99ba0702fed86b0546c11270 (patch) | |
tree | a68c1b4be98329ceb704b534012c2cb72f2e459f /sys/net | |
parent | 11037c013d79eae9f06a8e84c4d35cce975567f2 (diff) | |
download | FreeBSD-src-4d5d6d69caae71da99ba0702fed86b0546c11270.zip FreeBSD-src-4d5d6d69caae71da99ba0702fed86b0546c11270.tar.gz |
Do some cleanups of the HARP atm codes interface into the system:
Define the NETISR just like all the other NETISRs.
unifdef -Usun -D__FreeBSD__ we will probably never support sun4c
and if we do we can't use the solaris code anyway and I doubt
anybody will be running Fore ATM cards in then in the first place.
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/intrq.c | 10 | ||||
-rw-r--r-- | sys/net/netisr.h | 1 |
2 files changed, 1 insertions, 10 deletions
diff --git a/sys/net/intrq.c b/sys/net/intrq.c index 863b6c3..5739385 100644 --- a/sys/net/intrq.c +++ b/sys/net/intrq.c @@ -37,10 +37,6 @@ #include <net/netisr.h> #include <net/intrq.h> -#ifdef __i386__ -#include <netatm/kern_include.h> /* XXX overkill, fixme! */ -#endif - /* * If the appropriate intrq_present variable is zero, don't use * the queue (as it'll never get processed). @@ -49,9 +45,7 @@ */ const int atintrq1_present; const int atintrq2_present; -#ifdef NETISR_ATM const int atmintrq_present; -#endif const int ipintrq_present; const int ip6intrq_present; const int ipxintrq_present; @@ -60,9 +54,7 @@ const int nsintrq_present; struct ifqueue atintrq1; struct ifqueue atintrq2; -#ifdef NETISR_ATM struct ifqueue atm_intrq; -#endif struct ifqueue ipintrq; struct ifqueue ip6intrq; struct ifqueue ipxintrq; @@ -76,9 +68,7 @@ static const struct { int const *present; int isr; } queue[] = { -#ifdef NETISR_ATM { AF_ATM, &atm_intrq, &atmintrq_present, NETISR_ATM }, -#endif { AF_INET, &ipintrq, &ipintrq_present, NETISR_IP }, { AF_INET6, &ip6intrq, &ip6intrq_present, NETISR_IPV6 }, { AF_IPX, &ipxintrq, &ipxintrq_present, NETISR_IPX }, diff --git a/sys/net/netisr.h b/sys/net/netisr.h index 3ae1d13..07f6b7c 100644 --- a/sys/net/netisr.h +++ b/sys/net/netisr.h @@ -61,6 +61,7 @@ #define NETISR_PPP 27 /* PPP soft interrupt */ #define NETISR_IPV6 28 /* same as AF_INET6 */ #define NETISR_NATM 29 /* same as AF_NATM */ +#define NETISR_ATM 30 /* same as AF_ATM */ #define NETISR_NETGRAPH 31 /* same as AF_NETGRAPH */ |