From c5df202f3b8ef8af8173f7e77ebf8c99093cd3e9 Mon Sep 17 00:00:00 2001 From: glebius Date: Wed, 22 Feb 2006 14:11:16 +0000 Subject: Back out 1.112,1.113. I don't have enough resources to fix breakages introduced by this change. --- sys/dev/em/if_em.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys/dev') diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c index 7d3c539..c189eb2 100644 --- a/sys/dev/em/if_em.c +++ b/sys/dev/em/if_em.c @@ -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); -- cgit v1.1