From 11cfbaccf067b989d124df3fc9de73fb9ae45375 Mon Sep 17 00:00:00 2001 From: joshua stein Date: Thu, 28 Oct 2004 17:05:42 +0000 Subject: print our ether address when attaching like other drivers ok damien@ --- sys/dev/pci/if_ipw.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sys') 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; -- cgit v1.2.3