1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-27 16:39:08 +00:00

Back out 1.112,1.113. I don't have enough resources to fix breakages

introduced by this change.
This commit is contained in:
Gleb Smirnoff 2006-02-22 14:11:16 +00:00
parent d12dff713a
commit 9cc9484cb5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155911

View File

@ -954,7 +954,13 @@ em_init_locked(struct em_softc *sc)
/* Get the latest mac address, User can use a LAA */
bcopy(IF_LLADDR(sc->ifp), sc->hw.mac_addr, ETHER_ADDR_LEN);
em_init_rx_addrs(&sc->hw);
/* Initialize the hardware */
if (em_hardware_init(sc)) {
device_printf(dev, "Unable to initialize the hardware\n");
return;
}
em_update_link_status(sc);
if (ifp->if_capenable & IFCAP_VLAN_HWTAGGING)
em_enable_vlans(sc);