svn commit: r241691 - head/sys/dev/oce
John Baldwin
jhb at FreeBSD.org
Thu Oct 18 15:14:14 UTC 2012
Author: jhb
Date: Thu Oct 18 15:14:13 2012
New Revision: 241691
URL: http://svn.freebsd.org/changeset/base/241691
Log:
Use if_initbaudrate().
Modified:
head/sys/dev/oce/oce_if.c
Modified: head/sys/dev/oce/oce_if.c
==============================================================================
--- head/sys/dev/oce/oce_if.c Thu Oct 18 14:57:11 2012 (r241690)
+++ head/sys/dev/oce/oce_if.c Thu Oct 18 15:14:13 2012 (r241691)
@@ -1652,7 +1652,7 @@ oce_attach_ifp(POCE_SOFTC sc)
#endif
sc->ifp->if_capenable = sc->ifp->if_capabilities;
- sc->ifp->if_baudrate = IF_Gbps(10UL);
+ if_initbaudrate(sc->ifp, IF_Gbps(10));
ether_ifattach(sc->ifp, sc->macaddr.mac_addr);
More information about the svn-src-head
mailing list