diff options
author | glebius <glebius@FreeBSD.org> | 2006-02-15 13:45:02 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2006-02-15 13:45:02 +0000 |
commit | 42e75f6bf6a3d946394d89e750e644038f39a8d2 (patch) | |
tree | aeb56135fec8e088b15f3f415be49c50378984e2 | |
parent | 44a8ce5006417a23f9bb7ef8d3d9bbe76365c7df (diff) | |
download | FreeBSD-src-42e75f6bf6a3d946394d89e750e644038f39a8d2.zip FreeBSD-src-42e75f6bf6a3d946394d89e750e644038f39a8d2.tar.gz |
em_hardware_init() in em_init() is not needed, and leads to annoying
link flap.
Submitted by: ru, Mike Tancsa
-rw-r--r-- | sys/dev/em/if_em.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c index c189eb2..bb12250 100644 --- a/sys/dev/em/if_em.c +++ b/sys/dev/em/if_em.c @@ -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); |