summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Leonard <d@cvs.openbsd.org>1999-07-14 07:22:15 +0000
committerDavid Leonard <d@cvs.openbsd.org>1999-07-14 07:22:15 +0000
commitf92ff7531463d3ffeb31d6ca625cedd9b3a227a9 (patch)
treee6cc6ae4e57bff8978b7e8c9d6668365f5566551 /sys/dev
parent98ca7a447f010492db8e695f81ff965954f7cdb4 (diff)
display id numbers when card is probed but not known.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pcmcia/if_rl2_pcmcia.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/pcmcia/if_rl2_pcmcia.c b/sys/dev/pcmcia/if_rl2_pcmcia.c
index f08a700948e..00a2e334427 100644
--- a/sys/dev/pcmcia/if_rl2_pcmcia.c
+++ b/sys/dev/pcmcia/if_rl2_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rl2_pcmcia.c,v 1.3 1999/07/14 03:55:22 d Exp $ */
+/* $OpenBSD: if_rl2_pcmcia.c,v 1.4 1999/07/14 07:22:14 d Exp $ */
/*
* David Leonard <d@openbsd.org>, 1999. Public domain.
*
@@ -240,6 +240,10 @@ rl2_pcmcia_attach(parent, self, aux)
sc->sc_dev.dv_xname);
printf("%s: %s", sc->sc_dev.dv_xname, rpp->name);
+#ifdef DIAGNOSTIC
+ if (rpp->manufacturer == 0)
+ printf(" manf %04x prod %04x", pa->manufacturer, pa->product);
+#endif
rl2config(sc);
printf("\n");
}