summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2012-11-29 21:10:33 +0000
committerBrad Smith <brad@cvs.openbsd.org>2012-11-29 21:10:33 +0000
commitbe521bebf39a09547a4e366fc77262c12d9eea93 (patch)
tree3f7f415ef1cbc7049414ef8a3d7999ce78806d27 /sys/dev
parent1bdab4f147158a9e9d8e8b796a7ae3a8fb71e70c (diff)
Remove setting an initial assumed baudrate upon driver attach which is not
necessarily correct, there might not even be a link when attaching. ok mikeb@ reyk@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/dc.c3
-rw-r--r--sys/dev/ic/if_wi.c3
-rw-r--r--sys/dev/ic/mtd8xx.c3
-rw-r--r--sys/dev/ic/rtl81x9.c3
-rw-r--r--sys/dev/pci/if_age.c3
-rw-r--r--sys/dev/pci/if_alc.c3
-rw-r--r--sys/dev/pci/if_ale.c3
-rw-r--r--sys/dev/pci/if_ix.c3
-rw-r--r--sys/dev/pci/if_jme.c3
-rw-r--r--sys/dev/pci/if_lge.c3
-rw-r--r--sys/dev/pci/if_msk.c3
-rw-r--r--sys/dev/pci/if_myx.c3
-rw-r--r--sys/dev/pci/if_nfe.c3
-rw-r--r--sys/dev/pci/if_nge.c3
-rw-r--r--sys/dev/pci/if_sis.c3
-rw-r--r--sys/dev/pci/if_sk.c3
-rw-r--r--sys/dev/pci/if_ste.c3
-rw-r--r--sys/dev/pci/if_tl.c3
-rw-r--r--sys/dev/pci/if_vge.c3
-rw-r--r--sys/dev/pci/if_vr.c3
-rw-r--r--sys/dev/pci/if_vte.c3
-rw-r--r--sys/dev/pci/if_wb.c3
22 files changed, 22 insertions, 44 deletions
diff --git a/sys/dev/ic/dc.c b/sys/dev/ic/dc.c
index 23030834bde..a68366fb32c 100644
--- a/sys/dev/ic/dc.c
+++ b/sys/dev/ic/dc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dc.c,v 1.124 2011/07/07 20:42:56 henning Exp $ */
+/* $OpenBSD: dc.c,v 1.125 2012/11/29 21:10:31 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1731,7 +1731,6 @@ hasmac:
ifp->if_ioctl = dc_ioctl;
ifp->if_start = dc_start;
ifp->if_watchdog = dc_watchdog;
- ifp->if_baudrate = 10000000;
IFQ_SET_MAXLEN(&ifp->if_snd, DC_TX_LIST_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
diff --git a/sys/dev/ic/if_wi.c b/sys/dev/ic/if_wi.c
index cb97c93abbb..67066a8b420 100644
--- a/sys/dev/ic/if_wi.c
+++ b/sys/dev/ic/if_wi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi.c,v 1.150 2011/06/21 16:52:45 tedu Exp $ */
+/* $OpenBSD: if_wi.c,v 1.151 2012/11/29 21:10:31 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -237,7 +237,6 @@ wi_attach(struct wi_softc *sc, struct wi_funcs *funcs)
ifp->if_ioctl = funcs->f_ioctl;
ifp->if_start = funcs->f_start;
ifp->if_watchdog = funcs->f_watchdog;
- ifp->if_baudrate = 10000000;
IFQ_SET_READY(&ifp->if_snd);
(void)wi_set_ssid(&sc->wi_node_name, WI_DEFAULT_NODENAME,
diff --git a/sys/dev/ic/mtd8xx.c b/sys/dev/ic/mtd8xx.c
index 5b99f8f364c..5e416f2fc8c 100644
--- a/sys/dev/ic/mtd8xx.c
+++ b/sys/dev/ic/mtd8xx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mtd8xx.c,v 1.18 2011/06/21 16:52:45 tedu Exp $ */
+/* $OpenBSD: mtd8xx.c,v 1.19 2012/11/29 21:10:32 brad Exp $ */
/*
* Copyright (c) 2003 Oleg Safiullin <form@pdp11.org.ru>
@@ -163,7 +163,6 @@ mtd_attach(struct mtd_softc *sc)
ifp->if_ioctl = mtd_ioctl;
ifp->if_start = mtd_start;
ifp->if_watchdog = mtd_watchdog;
- ifp->if_baudrate = 10000000;
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
diff --git a/sys/dev/ic/rtl81x9.c b/sys/dev/ic/rtl81x9.c
index 606d7e8ff4b..4e06696367e 100644
--- a/sys/dev/ic/rtl81x9.c
+++ b/sys/dev/ic/rtl81x9.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9.c,v 1.75 2011/06/21 16:52:45 tedu Exp $ */
+/* $OpenBSD: rtl81x9.c,v 1.76 2012/11/29 21:10:32 brad Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1213,7 +1213,6 @@ rl_attach(struct rl_softc *sc)
ifp->if_ioctl = rl_ioctl;
ifp->if_start = rl_start;
ifp->if_watchdog = rl_watchdog;
- ifp->if_baudrate = 10000000;
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
diff --git a/sys/dev/pci/if_age.c b/sys/dev/pci/if_age.c
index f5f6de57be1..cd8fbd6efd9 100644
--- a/sys/dev/pci/if_age.c
+++ b/sys/dev/pci/if_age.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_age.c,v 1.19 2011/10/19 05:23:44 kevlo Exp $ */
+/* $OpenBSD: if_age.c,v 1.20 2012/11/29 21:10:32 brad Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
@@ -231,7 +231,6 @@ age_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = age_ioctl;
ifp->if_start = age_start;
ifp->if_watchdog = age_watchdog;
- ifp->if_baudrate = IF_Gbps(1);
IFQ_SET_MAXLEN(&ifp->if_snd, AGE_TX_RING_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->age_eaddr, sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN);
diff --git a/sys/dev/pci/if_alc.c b/sys/dev/pci/if_alc.c
index eac4148f2e5..61e9cf4bca9 100644
--- a/sys/dev/pci/if_alc.c
+++ b/sys/dev/pci/if_alc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_alc.c,v 1.21 2011/10/19 05:23:44 kevlo Exp $ */
+/* $OpenBSD: if_alc.c,v 1.22 2012/11/29 21:10:32 brad Exp $ */
/*-
* Copyright (c) 2009, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -847,7 +847,6 @@ alc_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = alc_ioctl;
ifp->if_start = alc_start;
ifp->if_watchdog = alc_watchdog;
- ifp->if_baudrate = IF_Gbps(1);
IFQ_SET_MAXLEN(&ifp->if_snd, ALC_TX_RING_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->alc_eaddr, sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN);
diff --git a/sys/dev/pci/if_ale.c b/sys/dev/pci/if_ale.c
index 1e5004eaf3e..8f434c6d383 100644
--- a/sys/dev/pci/if_ale.c
+++ b/sys/dev/pci/if_ale.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ale.c,v 1.24 2012/09/26 19:24:06 brad Exp $ */
+/* $OpenBSD: if_ale.c,v 1.25 2012/11/29 21:10:32 brad Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -509,7 +509,6 @@ ale_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = ale_ioctl;
ifp->if_start = ale_start;
ifp->if_watchdog = ale_watchdog;
- ifp->if_baudrate = IF_Gbps(1);
IFQ_SET_MAXLEN(&ifp->if_snd, ALE_TX_RING_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->ale_eaddr, sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN);
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c
index 40561cb23d3..36c2a46c46d 100644
--- a/sys/dev/pci/if_ix.c
+++ b/sys/dev/pci/if_ix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ix.c,v 1.76 2012/11/29 13:23:00 mikeb Exp $ */
+/* $OpenBSD: if_ix.c,v 1.77 2012/11/29 21:10:32 brad Exp $ */
/******************************************************************************
@@ -1598,7 +1598,6 @@ ixgbe_setup_interface(struct ix_softc *sc)
INIT_DEBUGOUT("ixgbe_setup_interface: begin");
strlcpy(ifp->if_xname, sc->dev.dv_xname, IFNAMSIZ);
- ifp->if_baudrate = IF_Gbps(10);
ifp->if_softc = sc;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_ioctl = ixgbe_ioctl;
diff --git a/sys/dev/pci/if_jme.c b/sys/dev/pci/if_jme.c
index 25c954fda11..395ee56be64 100644
--- a/sys/dev/pci/if_jme.c
+++ b/sys/dev/pci/if_jme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_jme.c,v 1.28 2012/10/22 09:19:17 brad Exp $ */
+/* $OpenBSD: if_jme.c,v 1.29 2012/11/29 21:10:32 brad Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -609,7 +609,6 @@ jme_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = jme_ioctl;
ifp->if_start = jme_start;
ifp->if_watchdog = jme_watchdog;
- ifp->if_baudrate = IF_Gbps(1);
IFQ_SET_MAXLEN(&ifp->if_snd, JME_TX_RING_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);
strlcpy(ifp->if_xname, sc->sc_dev.dv_xname, IFNAMSIZ);
diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c
index 1169875c7d0..82d9290c52d 100644
--- a/sys/dev/pci/if_lge.c
+++ b/sys/dev/pci/if_lge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_lge.c,v 1.56 2012/10/18 21:44:21 deraadt Exp $ */
+/* $OpenBSD: if_lge.c,v 1.57 2012/11/29 21:10:32 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2000, 2001
@@ -518,7 +518,6 @@ lge_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = lge_ioctl;
ifp->if_start = lge_start;
ifp->if_watchdog = lge_watchdog;
- ifp->if_baudrate = 1000000000;
ifp->if_hardmtu = LGE_JUMBO_MTU;
IFQ_SET_MAXLEN(&ifp->if_snd, LGE_TX_LIST_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c
index e60d3458c68..46af3f0ce1a 100644
--- a/sys/dev/pci/if_msk.c
+++ b/sys/dev/pci/if_msk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_msk.c,v 1.95 2012/10/18 21:44:21 deraadt Exp $ */
+/* $OpenBSD: if_msk.c,v 1.96 2012/11/29 21:10:32 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -970,7 +970,6 @@ msk_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = msk_ioctl;
ifp->if_start = msk_start;
ifp->if_watchdog = msk_watchdog;
- ifp->if_baudrate = 1000000000;
if (sc->sk_type != SK_YUKON_FE &&
sc->sk_type != SK_YUKON_FE_P)
ifp->if_hardmtu = SK_JUMBO_MTU;
diff --git a/sys/dev/pci/if_myx.c b/sys/dev/pci/if_myx.c
index da0062c6d6f..a960902aeae 100644
--- a/sys/dev/pci/if_myx.c
+++ b/sys/dev/pci/if_myx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_myx.c,v 1.30 2011/11/28 10:25:22 blambert Exp $ */
+/* $OpenBSD: if_myx.c,v 1.31 2012/11/29 21:10:32 brad Exp $ */
/*
* Copyright (c) 2007 Reyk Floeter <reyk@openbsd.org>
@@ -466,7 +466,6 @@ myx_attachhook(void *arg)
ifp->if_capabilities |= IFCAP_CSUM_IPv4 | IFCAP_CSUM_TCPv4 |
IFCAP_CSUM_UDPv4;
#endif
- ifp->if_baudrate = 0;
ifmedia_init(&sc->sc_media, 0, myx_media_change, myx_media_status);
ifmedia_add(&sc->sc_media, IFM_ETHER | IFM_AUTO, 0, NULL);
diff --git a/sys/dev/pci/if_nfe.c b/sys/dev/pci/if_nfe.c
index ef8c01c9fe7..b7e08f4d1e6 100644
--- a/sys/dev/pci/if_nfe.c
+++ b/sys/dev/pci/if_nfe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nfe.c,v 1.99 2012/08/31 12:41:17 stsp Exp $ */
+/* $OpenBSD: if_nfe.c,v 1.100 2012/11/29 21:10:32 brad Exp $ */
/*-
* Copyright (c) 2006, 2007 Damien Bergamini <damien.bergamini@free.fr>
@@ -344,7 +344,6 @@ nfe_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = nfe_ioctl;
ifp->if_start = nfe_start;
ifp->if_watchdog = nfe_watchdog;
- ifp->if_baudrate = IF_Gbps(1);
IFQ_SET_MAXLEN(&ifp->if_snd, NFE_IFQ_MAXLEN);
IFQ_SET_READY(&ifp->if_snd);
strlcpy(ifp->if_xname, sc->sc_dev.dv_xname, IFNAMSIZ);
diff --git a/sys/dev/pci/if_nge.c b/sys/dev/pci/if_nge.c
index d806adf868a..e04bebbc31f 100644
--- a/sys/dev/pci/if_nge.c
+++ b/sys/dev/pci/if_nge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_nge.c,v 1.72 2012/10/18 21:44:21 deraadt Exp $ */
+/* $OpenBSD: if_nge.c,v 1.73 2012/11/29 21:10:32 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2000, 2001
@@ -848,7 +848,6 @@ nge_attach(parent, self, aux)
ifp->if_ioctl = nge_ioctl;
ifp->if_start = nge_start;
ifp->if_watchdog = nge_watchdog;
- ifp->if_baudrate = 1000000000;
ifp->if_hardmtu = NGE_JUMBO_MTU;
IFQ_SET_MAXLEN(&ifp->if_snd, NGE_TX_LIST_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/dev/pci/if_sis.c b/sys/dev/pci/if_sis.c
index c267720f08a..5f6bdc8d2c5 100644
--- a/sys/dev/pci/if_sis.c
+++ b/sys/dev/pci/if_sis.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sis.c,v 1.106 2012/10/18 21:44:21 deraadt Exp $ */
+/* $OpenBSD: if_sis.c,v 1.107 2012/11/29 21:10:32 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
@@ -1090,7 +1090,6 @@ sis_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = sis_ioctl;
ifp->if_start = sis_start;
ifp->if_watchdog = sis_watchdog;
- ifp->if_baudrate = 10000000;
IFQ_SET_MAXLEN(&ifp->if_snd, SIS_TX_LIST_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c
index 0330ea1274c..92c4daee964 100644
--- a/sys/dev/pci/if_sk.c
+++ b/sys/dev/pci/if_sk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sk.c,v 1.162 2012/10/18 21:44:21 deraadt Exp $ */
+/* $OpenBSD: if_sk.c,v 1.163 2012/11/29 21:10:32 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -1167,7 +1167,6 @@ sk_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = sk_ioctl;
ifp->if_start = sk_start;
ifp->if_watchdog = sk_watchdog;
- ifp->if_baudrate = 1000000000;
ifp->if_hardmtu = SK_JUMBO_MTU;
IFQ_SET_MAXLEN(&ifp->if_snd, SK_TX_RING_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);
diff --git a/sys/dev/pci/if_ste.c b/sys/dev/pci/if_ste.c
index 517cec9b1a1..a97628702f3 100644
--- a/sys/dev/pci/if_ste.c
+++ b/sys/dev/pci/if_ste.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ste.c,v 1.49 2012/11/23 18:40:29 gsoares Exp $ */
+/* $OpenBSD: if_ste.c,v 1.50 2012/11/29 21:10:32 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
@@ -931,7 +931,6 @@ ste_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = ste_ioctl;
ifp->if_start = ste_start;
ifp->if_watchdog = ste_watchdog;
- ifp->if_baudrate = IF_Mbps(10);
IFQ_SET_MAXLEN(&ifp->if_snd, STE_TX_LIST_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
diff --git a/sys/dev/pci/if_tl.c b/sys/dev/pci/if_tl.c
index a854d90675a..9cc1143c160 100644
--- a/sys/dev/pci/if_tl.c
+++ b/sys/dev/pci/if_tl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tl.c,v 1.52 2012/11/23 18:40:30 gsoares Exp $ */
+/* $OpenBSD: if_tl.c,v 1.53 2012/11/29 21:10:32 brad Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -2125,7 +2125,6 @@ tl_attach(parent, self, aux)
ifp->if_ioctl = tl_ioctl;
ifp->if_start = tl_start;
ifp->if_watchdog = tl_watchdog;
- ifp->if_baudrate = IF_Mbps(10);
IFQ_SET_MAXLEN(&ifp->if_snd, TL_TX_LIST_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
diff --git a/sys/dev/pci/if_vge.c b/sys/dev/pci/if_vge.c
index 5149d2de9ae..826df5cac50 100644
--- a/sys/dev/pci/if_vge.c
+++ b/sys/dev/pci/if_vge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vge.c,v 1.52 2012/11/23 18:40:30 gsoares Exp $ */
+/* $OpenBSD: if_vge.c,v 1.53 2012/11/29 21:10:32 brad Exp $ */
/* $FreeBSD: if_vge.c,v 1.3 2004/09/11 22:13:25 wpaul Exp $ */
/*
* Copyright (c) 2004
@@ -787,7 +787,6 @@ vge_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = vge_ioctl;
ifp->if_start = vge_start;
ifp->if_watchdog = vge_watchdog;
- ifp->if_baudrate = IF_Gbps(1);
#ifdef VGE_JUMBO
ifp->if_hardmtu = VGE_JUMBO_MTU;
#endif
diff --git a/sys/dev/pci/if_vr.c b/sys/dev/pci/if_vr.c
index 265dc51a091..99e5a66da3f 100644
--- a/sys/dev/pci/if_vr.c
+++ b/sys/dev/pci/if_vr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vr.c,v 1.119 2012/11/23 18:40:30 gsoares Exp $ */
+/* $OpenBSD: if_vr.c,v 1.120 2012/11/29 21:10:32 brad Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -623,7 +623,6 @@ vr_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = vr_ioctl;
ifp->if_start = vr_start;
ifp->if_watchdog = vr_watchdog;
- ifp->if_baudrate = IF_Mbps(10);
ifp->if_capabilities = 0;
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);
diff --git a/sys/dev/pci/if_vte.c b/sys/dev/pci/if_vte.c
index fec0bb51397..cc134c0ea00 100644
--- a/sys/dev/pci/if_vte.c
+++ b/sys/dev/pci/if_vte.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vte.c,v 1.5 2011/05/28 08:31:51 kevlo Exp $ */
+/* $OpenBSD: if_vte.c,v 1.6 2012/11/29 21:10:32 brad Exp $ */
/*-
* Copyright (c) 2010, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -342,7 +342,6 @@ vte_attach(struct device *parent, struct device *self, void *aux)
ifp->if_ioctl = vte_ioctl;
ifp->if_start = vte_start;
ifp->if_watchdog = vte_watchdog;
- ifp->if_baudrate = IF_Mbps(100);
IFQ_SET_MAXLEN(&ifp->if_snd, VTE_TX_RING_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);
bcopy(sc->vte_eaddr, sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN);
diff --git a/sys/dev/pci/if_wb.c b/sys/dev/pci/if_wb.c
index b4d991e0874..4039f0d4b37 100644
--- a/sys/dev/pci/if_wb.c
+++ b/sys/dev/pci/if_wb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wb.c,v 1.50 2012/11/23 18:40:30 gsoares Exp $ */
+/* $OpenBSD: if_wb.c,v 1.51 2012/11/29 21:10:32 brad Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -794,7 +794,6 @@ wb_attach(parent, self, aux)
ifp->if_ioctl = wb_ioctl;
ifp->if_start = wb_start;
ifp->if_watchdog = wb_watchdog;
- ifp->if_baudrate = IF_Mbps(10);
IFQ_SET_MAXLEN(&ifp->if_snd, WB_TX_LIST_CNT - 1);
IFQ_SET_READY(&ifp->if_snd);