diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-11-25 19:16:01 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-11-25 19:16:01 +0000 |
commit | 042374139d58e1e82429c54d366a7247adbcffa0 (patch) | |
tree | a03335d27032b1b800dc603ca3b2e1ec842489b9 /sys/dev/pci/if_bnx.c | |
parent | ae5d1389cdabdd7a65f539bacba6de3808ec16a3 (diff) |
IF_Gbps(2.5) is wrong.
ok claudio@
Diffstat (limited to 'sys/dev/pci/if_bnx.c')
-rw-r--r-- | sys/dev/pci/if_bnx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_bnx.c b/sys/dev/pci/if_bnx.c index ac474cd7c1d..31a0a6bcbbc 100644 --- a/sys/dev/pci/if_bnx.c +++ b/sys/dev/pci/if_bnx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bnx.c,v 1.54 2007/08/28 18:34:38 deraadt Exp $ */ +/* $OpenBSD: if_bnx.c,v 1.55 2007/11/25 19:16:00 dlg Exp $ */ /*- * Copyright (c) 2006 Broadcom Corporation @@ -868,7 +868,7 @@ bnx_attachhook(void *xsc) ifp->if_start = bnx_start; ifp->if_watchdog = bnx_watchdog; if (sc->bnx_phy_flags & BNX_PHY_2_5G_CAPABLE_FLAG) - ifp->if_baudrate = IF_Gbps(2.5); + ifp->if_baudrate = IF_Mbps(2500); else ifp->if_baudrate = IF_Gbps(1); IFQ_SET_MAXLEN(&ifp->if_snd, USABLE_TX_BD - 1); |