summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_iwi.c
diff options
context:
space:
mode:
authorjoshua stein <jcs@cvs.openbsd.org>2004-10-28 22:12:01 +0000
committerjoshua stein <jcs@cvs.openbsd.org>2004-10-28 22:12:01 +0000
commitd68d3c6031ed944c62af982995307903f1890cf7 (patch)
tree8c8227d6c364ab7a232199ba76120813ad03a16e /sys/dev/pci/if_iwi.c
parente636cc4e77b148deac7c592098b8c46c682edbd7 (diff)
print our ether address when attaching like other drivers
same code as for ipw
Diffstat (limited to 'sys/dev/pci/if_iwi.c')
-rw-r--r--sys/dev/pci/if_iwi.c6
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;