summaryrefslogtreecommitdiffstats
path: root/sys/netatm/atm_subr.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/netatm/atm_subr.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/netatm/atm_subr.c')
-rw-r--r--sys/netatm/atm_subr.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/netatm/atm_subr.c b/sys/netatm/atm_subr.c
index beed42b..962977b 100644
--- a/sys/netatm/atm_subr.c
+++ b/sys/netatm/atm_subr.c
@@ -115,20 +115,12 @@ atm_initialize()
return;
atm_init = 1;
-#ifndef __FreeBSD__
- /*
- * Add ATM protocol family
- */
- (void) protocol_family(&atmdomain, NULL, NULL);
-#endif
atm_intrq.ifq_maxlen = ATM_INTRQ_MAX;
#ifdef sgi
atm_intr_index = register_isr(atm_intr);
#endif
-#ifdef __FreeBSD__
register_netisr(NETISR_ATM, atm_intr);
-#endif
/*
* Initialize subsystems
OpenPOWER on IntegriCloud