summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_de.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-09-23 17:45:18 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-09-23 17:45:18 +0000
commit03afde90fdef2d05bb166cbf5f2f07a88a1c045f (patch)
treeeccb33a8d1dec467b0469222f8886ee07fcf55cf /sys/dev/pci/if_de.c
parent3c9617027361ea16eabd3dca15bc05d40d9508b7 (diff)
don't need to set ifp->if_mtu or ifp->if_output in each driver,
{ether,atm,fddi}_ifattach already does this. ok mcbride@ markus@ henning@
Diffstat (limited to 'sys/dev/pci/if_de.c')
-rw-r--r--sys/dev/pci/if_de.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c
index 698137101af..d795d4244e2 100644
--- a/sys/dev/pci/if_de.c
+++ b/sys/dev/pci/if_de.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_de.c,v 1.60 2004/05/31 04:21:12 mcbride Exp $ */
+/* $OpenBSD: if_de.c,v 1.61 2004/09/23 17:45:16 brad Exp $ */
/* $NetBSD: if_de.c,v 1.45 1997/06/09 00:34:18 thorpej Exp $ */
/*-
@@ -4780,12 +4780,6 @@ tulip_attach(
ifp->if_start = tulip_ifstart;
ifp->if_watchdog = tulip_ifwatchdog;
ifp->if_timer = 1;
-#if !defined(__bsdi__) || _BSDI_VERSION < 199401
- ifp->if_output = ether_output;
-#endif
-#if defined(__bsdi__) && _BSDI_VERSION < 199401
- ifp->if_mtu = ETHERMTU;
-#endif
#ifdef __OpenBSD__
timeout_set(&sc->tulip_stmo, tulip_timeout_callback, sc);