From 322b1dc4b02fc3bd32ea1e09ef594a5212312cc4 Mon Sep 17 00:00:00 2001 From: "Matthew N. Dodd" Date: Sat, 20 Mar 2004 20:12:13 +0000 Subject: [PATCH] Let ether_ifattach() announce our MAC address. Submitted by: Marius Strobl --- sys/dev/gem/if_gem.c | 5 ----- sys/dev/hme/if_hme.c | 5 ----- 2 files changed, 10 deletions(-) diff --git a/sys/dev/gem/if_gem.c b/sys/dev/gem/if_gem.c index 5809e7bca448..6532423535fd 100644 --- a/sys/dev/gem/if_gem.c +++ b/sys/dev/gem/if_gem.c @@ -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); diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c index bbb428b10315..ab62245dc160 100644 --- a/sys/dev/hme/if_hme.c +++ b/sys/dev/hme/if_hme.c @@ -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),