diff options
author | joshua stein <jcs@cvs.openbsd.org> | 2004-10-28 17:05:42 +0000 |
---|---|---|
committer | joshua stein <jcs@cvs.openbsd.org> | 2004-10-28 17:05:42 +0000 |
commit | 11cfbaccf067b989d124df3fc9de73fb9ae45375 (patch) | |
tree | 9fb832094565003a7b9a12ac67974c0f8c45ee85 /sys | |
parent | 87dcca6e6dd9e6693dc50ea568782f171f3ab367 (diff) |
print our ether address when attaching like other drivers
ok damien@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_ipw.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ipw.c b/sys/dev/pci/if_ipw.c index 0e894c292b9..dc1992a04c6 100644 --- a/sys/dev/pci/if_ipw.c +++ b/sys/dev/pci/if_ipw.c @@ -1,4 +1,4 @@ -/* $Id: if_ipw.c,v 1.16 2004/10/27 21:24:49 damien Exp $ */ +/* $Id: if_ipw.c,v 1.17 2004/10/28 17:05:41 jcs Exp $ */ /*- * Copyright (c) 2004 @@ -215,7 +215,7 @@ ipw_attach(struct device *parent, struct device *self, void *aux) printf("\n"); return; } - printf(": %s\n", intrstr); + printf(": %s", intrstr); if (ipw_reset(sc) != 0) { printf(": could not reset adapter\n"); @@ -241,6 +241,8 @@ ipw_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] = ipw_rateset_11b; |