diff options
author | 2004-10-28 22:12:00 +0000 | |
---|---|---|
committer | 2004-10-28 22:12:00 +0000 | |
commit | e8bd64a22a92be8cabaa9996e1d229f23c569027 (patch) | |
tree | 9891aa040768c557b1e4f0d13530f3fffc50e125 | |
parent | SIGFPE signal codes. (diff) | |
download | wireguard-openbsd-e8bd64a22a92be8cabaa9996e1d229f23c569027.tar.xz wireguard-openbsd-e8bd64a22a92be8cabaa9996e1d229f23c569027.zip |
print our ether address when attaching like other drivers
same code as for ipw
-rw-r--r-- | sys/dev/pci/if_iwi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c index c7781ffe12d..7cf6777ff1a 100644 --- a/sys/dev/pci/if_iwi.c +++ b/sys/dev/pci/if_iwi.c @@ -1,4 +1,4 @@ -/* $Id: if_iwi.c,v 1.3 2004/10/27 21:33:52 damien Exp $ */ +/* $Id: if_iwi.c,v 1.4 2004/10/28 22:12:00 jcs Exp $ */ /*- * Copyright (c) 2004 @@ -223,7 +223,7 @@ iwi_attach(struct device *parent, struct device *self, void *aux) printf("\n"); return; } - printf(": %s\n", intrstr); + printf(": %s", intrstr); if (iwi_reset(sc) != 0) { printf(": could not reset adapter\n"); @@ -249,6 +249,8 @@ iwi_attach(struct device *parent, struct device *self, void *aux) ic->ic_myaddr[4] = val >> 8; ic->ic_myaddr[5] = val & 0xff; + printf(", address %s\n", ether_sprintf(ic->ic_myaddr)); + /* set supported .11b rates */ ic->ic_sup_rates[IEEE80211_MODE_11B] = iwi_rateset_11b; |