Author: bz
Date: Sat Feb 11 07:47:06 2012
New Revision: 231509
URL: http://svn.freebsd.org/changeset/base/231509

Log:
  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.

Modified:
  head/sys/dev/oce/oce_if.c

Modified: head/sys/dev/oce/oce_if.c
==============================================================================
--- head/sys/dev/oce/oce_if.c   Sat Feb 11 07:43:33 2012        (r231508)
+++ head/sys/dev/oce/oce_if.c   Sat Feb 11 07:47:06 2012        (r231509)
@@ -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);
        
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to