em_hardware_init() in em_init() is not needed, and leads to annoying

link flap.

Submitted by:	ru, Mike Tancsa
This commit is contained in:
Gleb Smirnoff 2006-02-15 13:45:02 +00:00
parent c5d2fb8df7
commit 95c01e57d9

View file

@ -955,13 +955,6 @@ 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);
/* 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);