From 042374139d58e1e82429c54d366a7247adbcffa0 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Sun, 25 Nov 2007 19:16:01 +0000 Subject: IF_Gbps(2.5) is wrong. ok claudio@ --- sys/dev/pci/if_bnx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') 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); -- cgit v1.2.3