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/ic/rtl81x9.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/ic/rtl81x9.c')
-rw-r--r-- | sys/dev/ic/rtl81x9.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/rtl81x9.c b/sys/dev/ic/rtl81x9.c index 94705284561..5070775b05c 100644 --- a/sys/dev/ic/rtl81x9.c +++ b/sys/dev/ic/rtl81x9.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtl81x9.c,v 1.26 2004/06/06 17:56:36 mcbride Exp $ */ +/* $OpenBSD: rtl81x9.c,v 1.27 2004/09/23 17:45:16 brad Exp $ */ /* * Copyright (c) 1997, 1998 @@ -1242,10 +1242,8 @@ rl_attach(sc) sc->rl_cdata.rl_rx_buf += sizeof(u_int64_t); ifp->if_softc = sc; - ifp->if_mtu = ETHERMTU; ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_ioctl = rl_ioctl; - ifp->if_output = ether_output; ifp->if_start = rl_start; ifp->if_watchdog = rl_watchdog; ifp->if_baudrate = 10000000; |