summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2012-02-11 07:47:06 +0000
committerbz <bz@FreeBSD.org>2012-02-11 07:47:06 +0000
commit6d6c27dab1767a5785511effe312bf4666c00feb (patch)
tree39f4d3858b7a6b476b8de4ec253d4804859bb8f7
parentc76e7e4585ac53269584930fd3cbb1acebbd7a0f (diff)
downloadFreeBSD-src-6d6c27dab1767a5785511effe312bf4666c00feb.zip
FreeBSD-src-6d6c27dab1767a5785511effe312bf4666c00feb.tar.gz
Use the more common macro to set the if_baudrate to 10Gbit/s. Just use
UL not ULL, which should make 32bit archs more happy.
-rw-r--r--sys/dev/oce/oce_if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c
index c400507..6849c9b 100644
--- a/sys/dev/oce/oce_if.c
+++ b/sys/dev/oce/oce_if.c
@@ -1644,7 +1644,7 @@ oce_attach_ifp(POCE_SOFTC sc)
sc->ifp->if_capabilities |= IFCAP_LRO;
sc->ifp->if_capenable = sc->ifp->if_capabilities;
- sc->ifp->if_baudrate = IF_Mbps(10000ULL);
+ sc->ifp->if_baudrate = IF_Gbps(10UL);
ether_ifattach(sc->ifp, sc->macaddr.mac_addr);
OpenPOWER on IntegriCloud