Author: glebius Date: Thu Oct 18 09:59:50 2012 New Revision: 241678 URL: http://svn.freebsd.org/changeset/base/241678
Log: Utilize new macro to initialize if_baudrate. Modified: head/sys/dev/bxe/if_bxe.c Modified: head/sys/dev/bxe/if_bxe.c ============================================================================== --- head/sys/dev/bxe/if_bxe.c Thu Oct 18 09:57:56 2012 (r241677) +++ head/sys/dev/bxe/if_bxe.c Thu Oct 18 09:59:50 2012 (r241678) @@ -2140,7 +2140,7 @@ bxe_attach(device_t dev) ifp->if_capabilities = BXE_IF_CAPABILITIES; /* TPA not enabled by default. */ ifp->if_capenable = BXE_IF_CAPABILITIES & ~IFCAP_LRO; - ifp->if_baudrate = IF_Gbps(10UL); + if_initbaudrate(ifp, IF_Gbps(10)); ifp->if_snd.ifq_drv_maxlen = sc->tx_ring_size; _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"