From 4d5d6d69caae71da99ba0702fed86b0546c11270 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 12 Oct 2000 00:03:50 +0000 Subject: 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. --- sys/netatm/atm_subr.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sys/netatm/atm_subr.c') 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 -- cgit v1.1