aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/oce/oce_if.c
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2012-02-11 07:47:06 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2012-02-11 07:47:06 +0000
commit84c2fd2f94d9c0008ca5f74fc77351a5d98189e3 (patch)
tree39f4d3858b7a6b476b8de4ec253d4804859bb8f7 /sys/dev/oce/oce_if.c
parentc3ed30eb190a1637ecb6bf7aa3dcf797c2afb810 (diff)
downloadsrc-84c2fd2f94d9c0008ca5f74fc77351a5d98189e3.tar.gz
src-84c2fd2f94d9c0008ca5f74fc77351a5d98189e3.zip
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.
Notes
Notes: svn path=/head/; revision=231509
Diffstat (limited to 'sys/dev/oce/oce_if.c')
-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 c400507c16fa..6849c9bbe52f 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);