Let ether_ifattach() announce our MAC address.
Submitted by: Marius Strobl <marius@alchemy.franken.de>
This commit is contained in:
parent
f7f2bd753e
commit
322b1dc4b0
@ -234,11 +234,6 @@ gem_attach(sc)
|
||||
* allocated.
|
||||
*/
|
||||
|
||||
/* Announce ourselves. */
|
||||
device_printf(sc->sc_dev, "Ethernet address:");
|
||||
for (i = 0; i < 6; i++)
|
||||
printf("%c%02x", i > 0 ? ':' : ' ', sc->sc_arpcom.ac_enaddr[i]);
|
||||
|
||||
/* Get RX FIFO size */
|
||||
sc->sc_rxfifosize = 64 *
|
||||
bus_space_read_4(sc->sc_bustag, sc->sc_h, GEM_RX_FIFO_SIZE);
|
||||
|
@ -261,11 +261,6 @@ hme_config(struct hme_softc *sc)
|
||||
goto fail_txdesc;
|
||||
}
|
||||
|
||||
device_printf(sc->sc_dev, "Ethernet address:");
|
||||
for (i = 0; i < 6; i++)
|
||||
printf("%c%02x", i > 0 ? ':' : ' ', sc->sc_arpcom.ac_enaddr[i]);
|
||||
printf("\n");
|
||||
|
||||
/* Initialize ifnet structure. */
|
||||
ifp->if_softc = sc;
|
||||
if_initname(ifp, device_get_name(sc->sc_dev),
|
||||
|
Loading…
x
Reference in New Issue
Block a user