From 84c2fd2f94d9c0008ca5f74fc77351a5d98189e3 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Sat, 11 Feb 2012 07:47:06 +0000 Subject: [PATCH] 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. --- sys/dev/oce/oce_if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/oce/oce_if.c b/sys/dev/oce/oce_if.c index c400507c16f..6849c9bbe52 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);