Date: Thu, 18 Oct 2012 15:14:13 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241691 - head/sys/dev/oce Message-ID: <201210181514.q9IFEDMq064239@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210181514.q9IFEDMq064239>