diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-09-23 17:45:18 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-09-23 17:45:18 +0000 |
commit | 03afde90fdef2d05bb166cbf5f2f07a88a1c045f (patch) | |
tree | eccb33a8d1dec467b0469222f8886ee07fcf55cf /sys/arch | |
parent | 3c9617027361ea16eabd3dca15bc05d40d9508b7 (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.c | 3 |
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); |