diff options
author | 2007-11-25 19:16:00 +0000 | |
---|---|---|
committer | 2007-11-25 19:16:00 +0000 | |
commit | 27f334900f3560fed50278210457ddaa9d5a8ffd (patch) | |
tree | 084254bc1b3c1a998ae5d3db225b1669895d36d6 | |
parent | we want strlen.c (diff) | |
download | wireguard-openbsd-27f334900f3560fed50278210457ddaa9d5a8ffd.tar.xz wireguard-openbsd-27f334900f3560fed50278210457ddaa9d5a8ffd.zip |
IF_Gbps(2.5) is wrong.
ok claudio@
-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); |