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.
This commit is contained in:
parent
c76e7e4585
commit
6d6c27dab1
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user