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/dev/pci/if_em.c | |
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/dev/pci/if_em.c')
-rw-r--r-- | sys/dev/pci/if_em.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c index 2404bf569ad..1604cde2d31 100644 --- a/sys/dev/pci/if_em.c +++ b/sys/dev/pci/if_em.c @@ -32,7 +32,7 @@ POSSIBILITY OF SUCH DAMAGE. ***************************************************************************/ /*$FreeBSD: if_em.c,v 1.38 2004/03/17 17:50:31 njl Exp $*/ -/* $OpenBSD: if_em.c,v 1.27 2004/09/16 09:37:14 mcbride Exp $ */ +/* $OpenBSD: if_em.c,v 1.28 2004/09/23 17:45:16 brad Exp $ */ #include "bpfilter.h" #include "vlan.h" @@ -2183,8 +2183,6 @@ em_setup_interface(struct em_softc * sc) strlcpy(ifp->if_xname, sc->sc_dv.dv_xname, IFNAMSIZ); #endif - ifp->if_mtu = ETHERMTU; - ifp->if_output = ether_output; ifp->if_baudrate = 1000000000; #ifdef __FreeBSD__ ifp->if_init = em_init; |