summaryrefslogtreecommitdiffstats
path: root/sys/netatm/atm_if.h
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_if.h
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_if.h')
-rw-r--r--sys/netatm/atm_if.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/netatm/atm_if.h b/sys/netatm/atm_if.h
index d2ea471..3664cba 100644
--- a/sys/netatm/atm_if.h
+++ b/sys/netatm/atm_if.h
@@ -376,13 +376,7 @@ struct atm_ncm {
typedef void (atm_intr_t) __P((void *, KBuffer *)); /* Callback function type */
typedef atm_intr_t *atm_intr_func_t; /* Pointer to callback function */
-#ifdef sun
-#define SCHED_ATM schednetisr(atm_intr)
-#endif
-#ifdef __FreeBSD__
-#define NETISR_ATM AF_ATM
#define SCHED_ATM schednetisr(NETISR_ATM)
-#endif
#ifdef sgi
extern int atm_intr_index;
#define SCHED_ATM schednetisr(atm_intr_index)
OpenPOWER on IntegriCloud