summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2001-05-14 21:45:26 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2001-05-14 21:45:26 +0000
commit3770ced89352bdde328ec33e92e7a0346b5c0780 (patch)
treee8c8d79361474b4ea663d68abe2a99120e1bec54 /sys/dev/pcmcia
parent76275009b6d534e2489f9f0167a9ee191050ce24 (diff)
if we are prism2 print so
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r--sys/dev/pcmcia/if_wi.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pcmcia/if_wi.c b/sys/dev/pcmcia/if_wi.c
index 65529dddd6d..d36b9a65325 100644
--- a/sys/dev/pcmcia/if_wi.c
+++ b/sys/dev/pcmcia/if_wi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi.c,v 1.31 2001/04/23 20:52:35 millert Exp $ */
+/* $OpenBSD: if_wi.c,v 1.32 2001/05/14 21:45:25 mickey Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -133,7 +133,7 @@ u_int32_t widebug = WIDEBUG;
#if !defined(lint) && !defined(__OpenBSD__)
static const char rcsid[] =
- "$OpenBSD: if_wi.c,v 1.31 2001/04/23 20:52:35 millert Exp $";
+ "$OpenBSD: if_wi.c,v 1.32 2001/05/14 21:45:25 mickey Exp $";
#endif /* lint */
#ifdef foo
@@ -412,7 +412,8 @@ wi_pcmcia_attach(parent, self, aux)
bcopy((char *)&mac.wi_mac_addr, (char *)&sc->arpcom.ac_enaddr,
ETHER_ADDR_LEN);
- printf(": address %s", ether_sprintf(sc->arpcom.ac_enaddr));
+ printf(": %saddress %s", sc->sc_prism2? "Prism II, " : "",
+ ether_sprintf(sc->arpcom.ac_enaddr));
ifp = &sc->arpcom.ac_if;
bcopy(sc->sc_dev.dv_xname, ifp->if_xname, IFNAMSIZ);