summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/bfe/if_bfe.c1
-rw-r--r--sys/dev/dc/if_dc.c1
-rw-r--r--sys/dev/fxp/if_fxp.c1
-rw-r--r--sys/dev/lge/if_lge.c1
-rw-r--r--sys/dev/nge/if_nge.c1
-rw-r--r--sys/dev/re/if_re.c4
-rw-r--r--sys/dev/sf/if_sf.c1
-rw-r--r--sys/dev/sk/if_sk.c1
-rw-r--r--sys/dev/tx/if_tx.c8
-rw-r--r--sys/dev/usb/if_aue.c1
-rw-r--r--sys/dev/usb/if_axe.c1
-rw-r--r--sys/dev/usb/if_rue.c1
-rw-r--r--sys/dev/usb/if_udav.c1
-rw-r--r--sys/dev/vge/if_vge.c1
-rw-r--r--sys/dev/vr/if_vr.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_vr.c1
-rw-r--r--sys/pci/if_wb.c1
-rw-r--r--sys/pci/if_xl.c2
24 files changed, 0 insertions, 35 deletions
diff --git a/sys/dev/bfe/if_bfe.c b/sys/dev/bfe/if_bfe.c
index 2a5cc73..328f4dc 100644
--- a/sys/dev/bfe/if_bfe.c
+++ b/sys/dev/bfe/if_bfe.c
@@ -386,7 +386,6 @@ bfe_attach(device_t dev)
ifp->if_watchdog = bfe_watchdog;
ifp->if_init = bfe_init;
ifp->if_mtu = ETHERMTU;
- ifp->if_baudrate = 100000000;
IFQ_SET_MAXLEN(&ifp->if_snd, BFE_TX_QLEN);
ifp->if_snd.ifq_drv_maxlen = BFE_TX_QLEN;
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c
index dddbbbf..7669383 100644
--- a/sys/dev/dc/if_dc.c
+++ b/sys/dev/dc/if_dc.c
@@ -2201,7 +2201,6 @@ dc_attach(device_t dev)
ifp->if_start = dc_start;
ifp->if_watchdog = dc_watchdog;
ifp->if_init = dc_init;
- ifp->if_baudrate = 10000000;
IFQ_SET_MAXLEN(&ifp->if_snd, DC_TX_LIST_CNT - 1);
ifp->if_snd.ifq_drv_maxlen = DC_TX_LIST_CNT - 1;
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 18f993c..111ed67 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -758,7 +758,6 @@ fxp_attach(device_t dev)
}
if_initname(ifp, device_get_name(dev), device_get_unit(dev));
- ifp->if_baudrate = 100000000;
ifp->if_init = fxp_init;
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
diff --git a/sys/dev/lge/if_lge.c b/sys/dev/lge/if_lge.c
index 1347b45..48220ec 100644
--- a/sys/dev/lge/if_lge.c
+++ b/sys/dev/lge/if_lge.c
@@ -546,7 +546,6 @@ lge_attach(dev)
ifp->if_start = lge_start;
ifp->if_watchdog = lge_watchdog;
ifp->if_init = lge_init;
- ifp->if_baudrate = 1000000000;
ifp->if_snd.ifq_maxlen = LGE_TX_LIST_CNT - 1;
ifp->if_capabilities = IFCAP_RXCSUM;
ifp->if_capenable = ifp->if_capabilities;
diff --git a/sys/dev/nge/if_nge.c b/sys/dev/nge/if_nge.c
index 74f8f9a..b176f31 100644
--- a/sys/dev/nge/if_nge.c
+++ b/sys/dev/nge/if_nge.c
@@ -860,7 +860,6 @@ nge_attach(dev)
ifp->if_start = nge_start;
ifp->if_watchdog = nge_watchdog;
ifp->if_init = nge_init;
- ifp->if_baudrate = 1000000000;
ifp->if_snd.ifq_maxlen = NGE_TX_LIST_CNT - 1;
ifp->if_hwassist = NGE_CSUM_FEATURES;
ifp->if_capabilities = IFCAP_HWCSUM | IFCAP_VLAN_HWTAGGING;
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c
index 6143ba2..cb96023 100644
--- a/sys/dev/re/if_re.c
+++ b/sys/dev/re/if_re.c
@@ -1225,10 +1225,6 @@ re_attach(dev)
#endif
ifp->if_watchdog = re_watchdog;
ifp->if_init = re_init;
- if (sc->rl_type == RL_8169)
- ifp->if_baudrate = 1000000000;
- else
- ifp->if_baudrate = 100000000;
IFQ_SET_MAXLEN(&ifp->if_snd, RL_IFQ_MAXLEN);
ifp->if_snd.ifq_drv_maxlen = RL_IFQ_MAXLEN;
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c
index a4703ed..498aba3 100644
--- a/sys/dev/sf/if_sf.c
+++ b/sys/dev/sf/if_sf.c
@@ -768,7 +768,6 @@ sf_attach(dev)
ifp->if_start = sf_start;
ifp->if_watchdog = sf_watchdog;
ifp->if_init = sf_init;
- ifp->if_baudrate = 10000000;
IFQ_SET_MAXLEN(&ifp->if_snd, SF_TX_DLIST_CNT - 1);
ifp->if_snd.ifq_drv_maxlen = SF_TX_DLIST_CNT - 1;
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c
index 94d9bae..d54cab0 100644
--- a/sys/dev/sk/if_sk.c
+++ b/sys/dev/sk/if_sk.c
@@ -1487,7 +1487,6 @@ sk_attach(dev)
ifp->if_start = sk_start;
ifp->if_watchdog = sk_watchdog;
ifp->if_init = sk_init;
- ifp->if_baudrate = 1000000000;
IFQ_SET_MAXLEN(&ifp->if_snd, SK_TX_RING_CNT - 1);
ifp->if_snd.ifq_drv_maxlen = SK_TX_RING_CNT - 1;
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c
index 6d0b19f..7fb0b49 100644
--- a/sys/dev/tx/if_tx.c
+++ b/sys/dev/tx/if_tx.c
@@ -248,7 +248,6 @@ epic_attach(device_t dev)
ifp->if_watchdog = epic_ifwatchdog;
ifp->if_init = epic_init;
ifp->if_timer = 0;
- ifp->if_baudrate = 10000000;
ifp->if_snd.ifq_maxlen = TX_RING_SIZE - 1;
/* Enable busmastering. */
@@ -1192,13 +1191,6 @@ epic_miibus_statchg(device_t dev)
CSR_WRITE_4(sc, MIICFG, sc->miicfg);
}
- /* Update baudrate. */
- if (IFM_SUBTYPE(media) == IFM_100_TX ||
- IFM_SUBTYPE(media) == IFM_100_FX)
- sc->ifp->if_baudrate = 100000000;
- else
- sc->ifp->if_baudrate = 10000000;
-
epic_stop_activity(sc);
epic_set_tx_mode(sc);
epic_start_activity(sc);
diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c
index bb53441..4443583 100644
--- a/sys/dev/usb/if_aue.c
+++ b/sys/dev/usb/if_aue.c
@@ -730,7 +730,6 @@ USB_ATTACH(aue)
ifp->if_start = aue_start;
ifp->if_watchdog = aue_watchdog;
ifp->if_init = aue_init;
- ifp->if_baudrate = 10000000;
ifp->if_snd.ifq_maxlen = IFQ_MAXLEN;
/*
diff --git a/sys/dev/usb/if_axe.c b/sys/dev/usb/if_axe.c
index e48e674..5f97769 100644
--- a/sys/dev/usb/if_axe.c
+++ b/sys/dev/usb/if_axe.c
@@ -500,7 +500,6 @@ USB_ATTACH(axe)
ifp->if_start = axe_start;
ifp->if_watchdog = axe_watchdog;
ifp->if_init = axe_init;
- ifp->if_baudrate = 10000000;
ifp->if_snd.ifq_maxlen = IFQ_MAXLEN;
sc->axe_qdat.ifp = ifp;
diff --git a/sys/dev/usb/if_rue.c b/sys/dev/usb/if_rue.c
index cc76a3a..7c46498 100644
--- a/sys/dev/usb/if_rue.c
+++ b/sys/dev/usb/if_rue.c
@@ -682,7 +682,6 @@ USB_ATTACH(rue)
ifp->if_start = rue_start;
ifp->if_watchdog = rue_watchdog;
ifp->if_init = rue_init;
- ifp->if_baudrate = 10000000;
ifp->if_snd.ifq_maxlen = IFQ_MAXLEN;
/* MII setup */
diff --git a/sys/dev/usb/if_udav.c b/sys/dev/usb/if_udav.c
index e46612d..0895b1a 100644
--- a/sys/dev/usb/if_udav.c
+++ b/sys/dev/usb/if_udav.c
@@ -415,7 +415,6 @@ USB_ATTACH(udav)
ifp->if_stop = udav_stop;
#endif
#if defined(__FreeBSD__)
- ifp->if_baudrate = 10000000;
ifp->if_snd.ifq_maxlen = IFQ_MAXLEN;
#endif
#if defined(__NetBSD__)
diff --git a/sys/dev/vge/if_vge.c b/sys/dev/vge/if_vge.c
index b433a01..d812262 100644
--- a/sys/dev/vge/if_vge.c
+++ b/sys/dev/vge/if_vge.c
@@ -1061,7 +1061,6 @@ vge_attach(dev)
#endif
ifp->if_watchdog = vge_watchdog;
ifp->if_init = vge_init;
- ifp->if_baudrate = 1000000000;
ifp->if_snd.ifq_maxlen = VGE_IFQ_MAXLEN;
TASK_INIT(&sc->vge_txtask, 0, vge_tx_task, ifp);
diff --git a/sys/dev/vr/if_vr.c b/sys/dev/vr/if_vr.c
index 73bf764..18de6f1 100644
--- a/sys/dev/vr/if_vr.c
+++ b/sys/dev/vr/if_vr.c
@@ -701,7 +701,6 @@ vr_attach(dev)
ifp->if_start = vr_start;
ifp->if_watchdog = vr_watchdog;
ifp->if_init = vr_init;
- ifp->if_baudrate = 10000000;
IFQ_SET_MAXLEN(&ifp->if_snd, VR_TX_LIST_CNT - 1);
ifp->if_snd.ifq_maxlen = VR_TX_LIST_CNT - 1;
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/pci/if_pcn.c b/sys/pci/if_pcn.c
index 452990c..3e3a47c 100644
--- a/sys/pci/if_pcn.c
+++ b/sys/pci/if_pcn.c
@@ -614,7 +614,6 @@ pcn_attach(dev)
ifp->if_start = pcn_start;
ifp->if_watchdog = pcn_watchdog;
ifp->if_init = pcn_init;
- ifp->if_baudrate = 10000000;
ifp->if_snd.ifq_maxlen = PCN_TX_LIST_CNT - 1;
/*
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index 970bb59..0fae3dd 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -956,7 +956,6 @@ rl_attach(device_t dev)
ifp->if_start = rl_start;
ifp->if_watchdog = rl_watchdog;
ifp->if_init = rl_init;
- ifp->if_baudrate = 10000000;
ifp->if_capabilities = IFCAP_VLAN_MTU;
ifp->if_capenable = ifp->if_capabilities;
#ifdef DEVICE_POLLING
diff --git a/sys/pci/if_sf.c b/sys/pci/if_sf.c
index a4703ed..498aba3 100644
--- a/sys/pci/if_sf.c
+++ b/sys/pci/if_sf.c
@@ -768,7 +768,6 @@ sf_attach(dev)
ifp->if_start = sf_start;
ifp->if_watchdog = sf_watchdog;
ifp->if_init = sf_init;
- ifp->if_baudrate = 10000000;
IFQ_SET_MAXLEN(&ifp->if_snd, SF_TX_DLIST_CNT - 1);
ifp->if_snd.ifq_drv_maxlen = SF_TX_DLIST_CNT - 1;
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/pci/if_sis.c b/sys/pci/if_sis.c
index b24d578..858c4c0 100644
--- a/sys/pci/if_sis.c
+++ b/sys/pci/if_sis.c
@@ -1196,7 +1196,6 @@ sis_attach(device_t dev)
ifp->if_start = sis_start;
ifp->if_watchdog = sis_watchdog;
ifp->if_init = sis_init;
- ifp->if_baudrate = 10000000;
IFQ_SET_MAXLEN(&ifp->if_snd, SIS_TX_LIST_CNT - 1);
ifp->if_snd.ifq_drv_maxlen = SIS_TX_LIST_CNT - 1;
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/pci/if_sk.c b/sys/pci/if_sk.c
index 94d9bae..d54cab0 100644
--- a/sys/pci/if_sk.c
+++ b/sys/pci/if_sk.c
@@ -1487,7 +1487,6 @@ sk_attach(dev)
ifp->if_start = sk_start;
ifp->if_watchdog = sk_watchdog;
ifp->if_init = sk_init;
- ifp->if_baudrate = 1000000000;
IFQ_SET_MAXLEN(&ifp->if_snd, SK_TX_RING_CNT - 1);
ifp->if_snd.ifq_drv_maxlen = SK_TX_RING_CNT - 1;
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c
index 3cdd581..ea2a652 100644
--- a/sys/pci/if_ste.c
+++ b/sys/pci/if_ste.c
@@ -1088,7 +1088,6 @@ ste_attach(dev)
ifp->if_start = ste_start;
ifp->if_watchdog = ste_watchdog;
ifp->if_init = ste_init;
- ifp->if_baudrate = 10000000;
IFQ_SET_MAXLEN(&ifp->if_snd, STE_TX_LIST_CNT - 1);
ifp->if_snd.ifq_drv_maxlen = STE_TX_LIST_CNT - 1;
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c
index 73bf764..18de6f1 100644
--- a/sys/pci/if_vr.c
+++ b/sys/pci/if_vr.c
@@ -701,7 +701,6 @@ vr_attach(dev)
ifp->if_start = vr_start;
ifp->if_watchdog = vr_watchdog;
ifp->if_init = vr_init;
- ifp->if_baudrate = 10000000;
IFQ_SET_MAXLEN(&ifp->if_snd, VR_TX_LIST_CNT - 1);
ifp->if_snd.ifq_maxlen = VR_TX_LIST_CNT - 1;
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index ae097de..486735d 100644
--- a/sys/pci/if_wb.c
+++ b/sys/pci/if_wb.c
@@ -853,7 +853,6 @@ wb_attach(dev)
ifp->if_start = wb_start;
ifp->if_watchdog = wb_watchdog;
ifp->if_init = wb_init;
- ifp->if_baudrate = 10000000;
ifp->if_snd.ifq_maxlen = WB_TX_LIST_CNT - 1;
/*
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index 81a9369..73cbced 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -1498,7 +1498,6 @@ xl_attach(device_t dev)
ifp->if_start = xl_start;
ifp->if_watchdog = xl_watchdog;
ifp->if_init = xl_init;
- ifp->if_baudrate = 10000000;
IFQ_SET_MAXLEN(&ifp->if_snd, XL_TX_LIST_CNT - 1);
ifp->if_snd.ifq_drv_maxlen = XL_TX_LIST_CNT - 1;
IFQ_SET_READY(&ifp->if_snd);
@@ -1586,7 +1585,6 @@ xl_attach(device_t dev)
if (sc->xl_media & XL_MEDIAOPT_BFX) {
if (bootverbose)
device_printf(dev, "found 100baseFX\n");
- ifp->if_baudrate = 100000000;
ifmedia_add(&sc->ifmedia, IFM_ETHER|IFM_100_FX, 0, NULL);
}
OpenPOWER on IntegriCloud