summaryrefslogtreecommitdiffstats
path: root/sys/dev/hea
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/dev/hea
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/dev/hea')
-rw-r--r--sys/dev/hea/eni.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/hea/eni.c b/sys/dev/hea/eni.c
index ca7e2a3..86f000c 100644
--- a/sys/dev/hea/eni.c
+++ b/sys/dev/hea/eni.c
@@ -53,19 +53,16 @@ static void eni_pci_attach __P((pcici_t, int));
static int eni_get_ack __P((Eni_unit *));
static int eni_get_sebyte __P((Eni_unit *));
static void eni_read_seeprom __P((Eni_unit *));
-#ifdef __FreeBSD__
#if BSD < 199506
static int eni_pci_shutdown __P((struct kern_devconf *, int));
#else
static void eni_pci_shutdown __P((void *, int));
#endif
static void eni_pci_reset __P((Eni_unit *));
-#endif /* __FreeBSD__ */
/*
* Used by kernel to return number of claimed devices
*/
-#ifdef __FreeBSD__
static u_long eni_nunits;
static struct pci_device eni_pci_device = {
@@ -81,7 +78,6 @@ static struct pci_device eni_pci_device = {
};
COMPAT_PCI_DRIVER (eni_pci, eni_pci_device);
-#endif /* __FreeBSD__ */
/*
* Called by kernel with PCI device_id which was read from the PCI
@@ -611,7 +607,6 @@ eni_pci_reset ( eup )
return;
}
-#ifdef __FreeBSD__
#if BSD < 199506
/*
* Device shutdown routine
@@ -666,4 +661,3 @@ eni_pci_shutdown ( eup, howto )
}
#endif /* BSD < 199506 */
-#endif /* __FreeBSD__ */
OpenPOWER on IntegriCloud