Stop setting ifp->if_output to ether_output() since ether_ifattach()
does it for us already.
This commit is contained in:
parent
a67ef0a77a
commit
aa0444ecdb
@ -4774,7 +4774,6 @@ tulip_attach(
|
||||
ifp->if_start = tulip_ifstart;
|
||||
ifp->if_watchdog = tulip_ifwatchdog;
|
||||
ifp->if_timer = 1;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_init = tulip_ifinit;
|
||||
|
||||
printf("%s: %s%s pass %d.%d%s\n",
|
||||
|
@ -771,7 +771,6 @@ sf_attach(dev)
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = sf_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = sf_start;
|
||||
ifp->if_watchdog = sf_watchdog;
|
||||
ifp->if_init = sf_init;
|
||||
|
@ -1463,7 +1463,6 @@ sk_attach(dev)
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = sk_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = sk_start;
|
||||
ifp->if_watchdog = sk_watchdog;
|
||||
ifp->if_init = sk_init;
|
||||
|
@ -2191,7 +2191,6 @@ ti_attach(dev)
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
tis[unit] = sc;
|
||||
ifp->if_ioctl = ti_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = ti_start;
|
||||
ifp->if_watchdog = ti_watchdog;
|
||||
ifp->if_init = ti_init;
|
||||
|
@ -851,7 +851,6 @@ vr_attach(dev)
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = vr_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = vr_start;
|
||||
ifp->if_watchdog = vr_watchdog;
|
||||
ifp->if_init = vr_init;
|
||||
|
@ -4774,7 +4774,6 @@ tulip_attach(
|
||||
ifp->if_start = tulip_ifstart;
|
||||
ifp->if_watchdog = tulip_ifwatchdog;
|
||||
ifp->if_timer = 1;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_init = tulip_ifinit;
|
||||
|
||||
printf("%s: %s%s pass %d.%d%s\n",
|
||||
|
@ -605,7 +605,6 @@ pcn_attach(dev)
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = pcn_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = pcn_start;
|
||||
ifp->if_watchdog = pcn_watchdog;
|
||||
ifp->if_init = pcn_init;
|
||||
|
@ -1097,7 +1097,6 @@ rl_attach(dev)
|
||||
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_init = rl_init;
|
||||
|
@ -771,7 +771,6 @@ sf_attach(dev)
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = sf_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = sf_start;
|
||||
ifp->if_watchdog = sf_watchdog;
|
||||
ifp->if_init = sf_init;
|
||||
|
@ -1370,7 +1370,6 @@ sis_attach(dev)
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = sis_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = sis_start;
|
||||
ifp->if_watchdog = sis_watchdog;
|
||||
ifp->if_init = sis_init;
|
||||
|
@ -1463,7 +1463,6 @@ sk_attach(dev)
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = sk_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = sk_start;
|
||||
ifp->if_watchdog = sk_watchdog;
|
||||
ifp->if_init = sk_init;
|
||||
|
@ -1035,7 +1035,6 @@ ste_attach(dev)
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = ste_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = ste_start;
|
||||
ifp->if_watchdog = ste_watchdog;
|
||||
ifp->if_init = ste_init;
|
||||
|
@ -2191,7 +2191,6 @@ ti_attach(dev)
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
tis[unit] = sc;
|
||||
ifp->if_ioctl = ti_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = ti_start;
|
||||
ifp->if_watchdog = ti_watchdog;
|
||||
ifp->if_init = ti_init;
|
||||
|
@ -1269,7 +1269,6 @@ tl_attach(dev)
|
||||
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = tl_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = tl_start;
|
||||
ifp->if_watchdog = tl_watchdog;
|
||||
ifp->if_init = tl_init;
|
||||
|
@ -851,7 +851,6 @@ vr_attach(dev)
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = vr_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = vr_start;
|
||||
ifp->if_watchdog = vr_watchdog;
|
||||
ifp->if_init = vr_init;
|
||||
|
@ -917,7 +917,6 @@ wb_attach(dev)
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = wb_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_start = wb_start;
|
||||
ifp->if_watchdog = wb_watchdog;
|
||||
ifp->if_init = wb_init;
|
||||
|
@ -1600,7 +1600,6 @@ xl_attach(dev)
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
|
||||
ifp->if_ioctl = xl_ioctl;
|
||||
ifp->if_output = ether_output;
|
||||
ifp->if_capabilities = IFCAP_VLAN_MTU;
|
||||
if (sc->xl_type == XL_TYPE_905B) {
|
||||
ifp->if_start = xl_start_90xB;
|
||||
|
Loading…
x
Reference in New Issue
Block a user