diff options
-rw-r--r-- | sys/dev/pci/if_ste.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_tl.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_txp.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_vge.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_vr.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_wb.c | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/pci/if_ste.c b/sys/dev/pci/if_ste.c index 12c2455d653..517cec9b1a1 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.48 2012/10/18 21:44:21 deraadt Exp $ */ +/* $OpenBSD: if_ste.c,v 1.49 2012/11/23 18:40:29 gsoares Exp $ */ /* * Copyright (c) 1997, 1998, 1999 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved. @@ -931,7 +931,7 @@ 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 = 10000000; + 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 c12329c81d5..a854d90675a 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.51 2011/06/22 16:44:27 tedu Exp $ */ +/* $OpenBSD: if_tl.c,v 1.52 2012/11/23 18:40:30 gsoares Exp $ */ /* * Copyright (c) 1997, 1998 @@ -2125,7 +2125,7 @@ tl_attach(parent, self, aux) ifp->if_ioctl = tl_ioctl; ifp->if_start = tl_start; ifp->if_watchdog = tl_watchdog; - ifp->if_baudrate = 10000000; + 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_txp.c b/sys/dev/pci/if_txp.c index 579dd5ddd2b..11e58db1641 100644 --- a/sys/dev/pci/if_txp.c +++ b/sys/dev/pci/if_txp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_txp.c,v 1.104 2011/04/05 18:01:21 henning Exp $ */ +/* $OpenBSD: if_txp.c,v 1.105 2012/11/23 18:40:30 gsoares Exp $ */ /* * Copyright (c) 2001 @@ -225,7 +225,7 @@ txp_attachhook(void *vsc) ifp->if_ioctl = txp_ioctl; ifp->if_start = txp_start; ifp->if_watchdog = txp_watchdog; - ifp->if_baudrate = 10000000; + ifp->if_baudrate = IF_Mbps(10); IFQ_SET_MAXLEN(&ifp->if_snd, TX_ENTRIES); IFQ_SET_READY(&ifp->if_snd); ifp->if_capabilities = 0; diff --git a/sys/dev/pci/if_vge.c b/sys/dev/pci/if_vge.c index ae0098690b2..5149d2de9ae 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.51 2011/06/22 16:44:27 tedu Exp $ */ +/* $OpenBSD: if_vge.c,v 1.52 2012/11/23 18:40:30 gsoares Exp $ */ /* $FreeBSD: if_vge.c,v 1.3 2004/09/11 22:13:25 wpaul Exp $ */ /* * Copyright (c) 2004 @@ -787,7 +787,7 @@ 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 = 1000000000; + 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 01550793096..265dc51a091 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.118 2012/11/15 15:50:19 jsing Exp $ */ +/* $OpenBSD: if_vr.c,v 1.119 2012/11/23 18:40:30 gsoares Exp $ */ /* * Copyright (c) 1997, 1998 @@ -623,7 +623,7 @@ 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 = 10000000; + 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_wb.c b/sys/dev/pci/if_wb.c index 963a81a0b7f..b4d991e0874 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.49 2012/10/18 21:44:21 deraadt Exp $ */ +/* $OpenBSD: if_wb.c,v 1.50 2012/11/23 18:40:30 gsoares Exp $ */ /* * Copyright (c) 1997, 1998 @@ -794,7 +794,7 @@ wb_attach(parent, self, aux) ifp->if_ioctl = wb_ioctl; ifp->if_start = wb_start; ifp->if_watchdog = wb_watchdog; - ifp->if_baudrate = 10000000; + ifp->if_baudrate = IF_Mbps(10); IFQ_SET_MAXLEN(&ifp->if_snd, WB_TX_LIST_CNT - 1); IFQ_SET_READY(&ifp->if_snd); |