summaryrefslogtreecommitdiffstats
path: root/sys/net/intrq.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-10-12 00:03:50 +0000
committerphk <phk@FreeBSD.org>2000-10-12 00:03:50 +0000
commit4d5d6d69caae71da99ba0702fed86b0546c11270 (patch)
treea68c1b4be98329ceb704b534012c2cb72f2e459f /sys/net/intrq.c
parent11037c013d79eae9f06a8e84c4d35cce975567f2 (diff)
downloadFreeBSD-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/intrq.c')
-rw-r--r--sys/net/intrq.c10
1 files changed, 0 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 },
OpenPOWER on IntegriCloud