From 7cd825001086b9c18ceb16b9f188113de653fa9b Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Wed, 23 Mar 2005 13:07:36 +0000 Subject: print the mac address in dmesg like every other nic we have ok damien@ --- sys/dev/usb/if_ral.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/dev/usb/if_ral.c b/sys/dev/usb/if_ral.c index 2a8ccc3471e..23d912205ba 100644 --- a/sys/dev/usb/if_ral.c +++ b/sys/dev/usb/if_ral.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ral.c,v 1.15 2005/03/23 12:41:47 dlg Exp $ */ +/* $OpenBSD: if_ral.c,v 1.16 2005/03/23 13:07:35 dlg Exp $ */ /*- * Copyright (c) 2005 @@ -395,8 +395,9 @@ USB_ATTACH(ural) /* retrieve MAC address and various other things from EEPROM */ ural_read_eeprom(sc); - printf("%s: MAC/BBP RT2570 (rev 0x%02x), RF %s\n", - USBDEVNAME(sc->sc_dev), sc->asic_rev, ural_get_rf(sc->rf_rev)); + printf("%s: MAC/BBP RT2570 (rev 0x%02x), RF %s, address %s\n", + USBDEVNAME(sc->sc_dev), sc->asic_rev, ural_get_rf(sc->rf_rev), + ether_sprintf(ic->ic_myaddr)); ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */ ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */ -- cgit v1.2.3