I think you have to use if_initbaudrate() in 10 (maybe 9 as well?) instead of a direct assignment since if_baudrate is only a long (and thus 32-bit on 32-bit platforms). We use an extra scaling variable in older branches to allow higher baud rates to be represented.
-- John Baldwin > On Jun 22, 2015, at 15:37, Andrew Gallatin <[email protected]> wrote: > > Author: gallatin > Date: Mon Jun 22 19:37:04 2015 > New Revision: 284706 > URL: https://svnweb.freebsd.org/changeset/base/284706 > > Log: > MFC r284612: Fix a typo > > Sponsored by: Netflix > > Modified: > stable/10/sys/dev/ixl/if_ixl.c > Directory Properties: > stable/10/ (props changed) > > Modified: stable/10/sys/dev/ixl/if_ixl.c > ============================================================================== > --- stable/10/sys/dev/ixl/if_ixl.c Mon Jun 22 19:01:09 2015 (r284705) > +++ stable/10/sys/dev/ixl/if_ixl.c Mon Jun 22 19:37:04 2015 (r284706) > @@ -2324,7 +2324,7 @@ ixl_setup_interface(device_t dev, struct > } > if_initname(ifp, device_get_name(dev), device_get_unit(dev)); > ifp->if_mtu = ETHERMTU; > - ifp->if_baudrate = 4000000000; // ?? > + ifp->if_baudrate = IF_Gbps(40); > ifp->if_init = ixl_init; > ifp->if_softc = vsi; > ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; > _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
