summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2004-03-11 14:04:59 +0000
committermux <mux@FreeBSD.org>2004-03-11 14:04:59 +0000
commit667b43899d3b6847bb4d85a0df9e3d22e9f29f8a (patch)
tree31dc0a2e37007fcadb8bebe1d0f8c3065ef89339 /sys
parent7bc1e8430f506e280c938a7c71fde6d35ea1b594 (diff)
downloadFreeBSD-src-667b43899d3b6847bb4d85a0df9e3d22e9f29f8a.zip
FreeBSD-src-667b43899d3b6847bb4d85a0df9e3d22e9f29f8a.tar.gz
Stop setting ifp->if_output to ether_output() since ether_ifattach()
does it for us already.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/de/if_de.c1
-rw-r--r--sys/dev/sf/if_sf.c1
-rw-r--r--sys/dev/sk/if_sk.c1
-rw-r--r--sys/dev/ti/if_ti.c1
-rw-r--r--sys/dev/vr/if_vr.c1
-rw-r--r--sys/pci/if_de.c1
-rw-r--r--sys/pci/if_pcn.c1
-rw-r--r--sys/pci/if_rl.c1
-rw-r--r--sys/pci/if_sf.c1
-rw-r--r--sys/pci/if_sis.c1
-rw-r--r--sys/pci/if_sk.c1
-rw-r--r--sys/pci/if_ste.c1
-rw-r--r--sys/pci/if_ti.c1
-rw-r--r--sys/pci/if_tl.c1
-rw-r--r--sys/pci/if_vr.c1
-rw-r--r--sys/pci/if_wb.c1
-rw-r--r--sys/pci/if_xl.c1
17 files changed, 0 insertions, 17 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c
index 248101e..b1ea3c4 100644
--- a/sys/dev/de/if_de.c
+++ b/sys/dev/de/if_de.c
@@ -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",
diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c
index fc56f3b..3bb3b40 100644
--- a/sys/dev/sf/if_sf.c
+++ b/sys/dev/sf/if_sf.c
@@ -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;
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c
index 7a0fad9..6729791 100644
--- a/sys/dev/sk/if_sk.c
+++ b/sys/dev/sk/if_sk.c
@@ -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;
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index b0118d6..d126ef4 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -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;
diff --git a/sys/dev/vr/if_vr.c b/sys/dev/vr/if_vr.c
index c2221be..94d4285 100644
--- a/sys/dev/vr/if_vr.c
+++ b/sys/dev/vr/if_vr.c
@@ -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;
diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c
index 248101e..b1ea3c4 100644
--- a/sys/pci/if_de.c
+++ b/sys/pci/if_de.c
@@ -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",
diff --git a/sys/pci/if_pcn.c b/sys/pci/if_pcn.c
index 0819db0..679dbbe 100644
--- a/sys/pci/if_pcn.c
+++ b/sys/pci/if_pcn.c
@@ -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;
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index 606bf34..1c4d98a 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -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;
diff --git a/sys/pci/if_sf.c b/sys/pci/if_sf.c
index fc56f3b..3bb3b40 100644
--- a/sys/pci/if_sf.c
+++ b/sys/pci/if_sf.c
@@ -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;
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c
index 7e15dae..2d8a529 100644
--- a/sys/pci/if_sis.c
+++ b/sys/pci/if_sis.c
@@ -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;
diff --git a/sys/pci/if_sk.c b/sys/pci/if_sk.c
index 7a0fad9..6729791 100644
--- a/sys/pci/if_sk.c
+++ b/sys/pci/if_sk.c
@@ -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;
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index e85fe96..8d25e21 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -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;
diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c
index b0118d6..d126ef4 100644
--- a/sys/pci/if_ti.c
+++ b/sys/pci/if_ti.c
@@ -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;
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c
index 47bf52e..f6fcd4c 100644
--- a/sys/pci/if_tl.c
+++ b/sys/pci/if_tl.c
@@ -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;
diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c
index c2221be..94d4285 100644
--- a/sys/pci/if_vr.c
+++ b/sys/pci/if_vr.c
@@ -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;
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index c4f4dd3..063e4b5 100644
--- a/sys/pci/if_wb.c
+++ b/sys/pci/if_wb.c
@@ -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;
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index a3a82ae..3076260 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -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;
OpenPOWER on IntegriCloud