summaryrefslogtreecommitdiff
path: root/sys/arch
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/arch
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/arch')
-rw-r--r--sys/arch/sgi/dev/if_mec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/sgi/dev/if_mec.c b/sys/arch/sgi/dev/if_mec.c
index a90135d84ac..890ca731af2 100644
--- a/sys/arch/sgi/dev/if_mec.c
+++ b/sys/arch/sgi/dev/if_mec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_mec.c,v 1.4 2004/08/26 13:03:59 pefo Exp $ */
+/* $OpenBSD: if_mec.c,v 1.5 2004/09/23 17:45:16 brad Exp $ */
/* $NetBSD: if_mec_mace.c,v 1.5 2004/08/01 06:36:36 tsutsui Exp $ */
/*
@@ -479,7 +479,6 @@ mec_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = mec_ioctl;
ifp->if_start = mec_start;
ifp->if_watchdog = mec_watchdog;
- ifp->if_mtu = ETHERMTU;
IFQ_SET_READY(&ifp->if_snd);
if_attach(ifp);