summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ti.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_ti.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_ti.c')
-rw-r--r--sys/dev/pci/if_ti.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c
index c767f7fbe4a..7bfa0533c02 100644
--- a/sys/dev/pci/if_ti.c
+++ b/sys/dev/pci/if_ti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ti.c,v 1.55 2004/09/19 22:22:05 brad Exp $ */
+/* $OpenBSD: if_ti.c,v 1.56 2004/09/23 17:45:16 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1735,10 +1735,8 @@ ti_attach(parent, self, aux)
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = ti_ioctl;
- ifp->if_output = ether_output;
ifp->if_start = ti_start;
ifp->if_watchdog = ti_watchdog;
- ifp->if_mtu = ETHERMTU;
#if NVLAN >0
ifp->if_capabilities |= IFCAP_VLAN_MTU | IFCAP_VLAN_HWTAGGING;
#endif