summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorFelix Kronlage <fkr@cvs.openbsd.org>2006-05-30 21:34:00 +0000
committerFelix Kronlage <fkr@cvs.openbsd.org>2006-05-30 21:34:00 +0000
commitc15665aa0e857ea37a8bb55e786e162f6d0fae4f (patch)
tree8a3f7f54d68887ca9c8964369afe5b9ce1a08462 /sys/dev
parentf7e543c9413a632a7869f451136f104056a9a934 (diff)
removes the isavar.h include and the ifdef bsdi cruft
ok miod
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/pdq_ifsubr.c23
1 files changed, 2 insertions, 21 deletions
diff --git a/sys/dev/ic/pdq_ifsubr.c b/sys/dev/ic/pdq_ifsubr.c
index 9d499b2543b..e995c4adc8b 100644
--- a/sys/dev/ic/pdq_ifsubr.c
+++ b/sys/dev/ic/pdq_ifsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdq_ifsubr.c,v 1.18 2006/03/25 22:41:43 djm Exp $ */
+/* $OpenBSD: pdq_ifsubr.c,v 1.19 2006/05/30 21:33:59 fkr Exp $ */
/* $NetBSD: pdq_ifsubr.c,v 1.5 1996/05/20 00:26:21 thorpej Exp $ */
/*-
@@ -46,7 +46,7 @@
#include <sys/malloc.h>
#if defined(__FreeBSD__)
#include <sys/devconf.h>
-#elif defined(__bsdi__) || defined(__NetBSD__) || defined(__OpenBSD__)
+#elif defined(__NetBSD__) || defined(__OpenBSD__)
#include <sys/device.h>
#endif
@@ -73,30 +73,11 @@
#include <net/if_fddi.h>
#endif
-#if defined(__bsdi__) && _BSDI_VERSION < 199401
-#include <i386/isa/isavar.h>
-#endif
-
#include <uvm/uvm_extern.h>
#include "pdqvar.h"
#include "pdqreg.h"
-#if defined(__bsdi__) && _BSDI_VERSION < 199506 /* XXX */
-static void
-arp_ifinit(
- struct arpcom *ac,
- struct ifaddr *ifa)
-{
- sc->sc_arpcom.ac_ipaddr = IA_SIN(ifa)->sin_addr;
- arpwhohas(&sc->sc_arpcom, &IA_SIN(ifa)->sin_addr);
-#if _BSDI_VERSION >= 199401
- ifa->ifa_rtrequest = arp_rtrequest;
- ifa->ifa_flags |= RTF_CLONING;
-#endif
-#endif
-
-
void
pdq_ifinit(
pdq_softc_t *sc)