summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2003-02-27 16:31:10 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2003-02-27 16:31:10 +0000
commit2a75924777dc6abad15f8f40a34cb2e4cc793dda (patch)
tree7dae276767eb7abd456a031e9654671cbcd4d996 /sys/dev/pci
parent0e6f9424b1c1e553062c50d2f471fe213d167fbd (diff)
print out the ethernet address in the dmesg.
from David Krause <openbsd@davidkrause.com>
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_em.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index 1a7788a55d0..8388dea6dcf 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -328,6 +328,8 @@ em_attach(struct device *parent, struct device *self, void *aux)
memcpy((char *)&sc->arpcom.ac_enaddr, sc->hw.mac_addr,
ETH_LENGTH_OF_ADDRESS);
+ printf(", address: %s\n", ether_sprintf(sc->arpcom.ac_enaddr));
+
/* Setup OS specific network interface */
em_setup_interface(sc);
@@ -1305,7 +1307,7 @@ em_allocate_pci_resources(struct em_softc * sc)
printf("\n");
return (ENXIO);
}
- printf(": %s\n", intrstr);
+ printf(": %s", intrstr);
sc->hw.back = &sc->osdep;