aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2005-07-14 20:40:42 +0000
committerWarner Losh <imp@FreeBSD.org>2005-07-14 20:40:42 +0000
commit2bb5d7f9aceb3107c7722aaad6ce7fcd4d6c8288 (patch)
tree5f41b061a88f9ff8a2eb1125b3d3fdbac0c2d0f6
parentf0ea72a038914507b9dec8491d46ee3974c43169 (diff)
Notes
-rw-r--r--sys/dev/pccard/pccard.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/dev/pccard/pccard.c b/sys/dev/pccard/pccard.c
index 552d2717c0804..f9fea3e855b3f 100644
--- a/sys/dev/pccard/pccard.c
+++ b/sys/dev/pccard/pccard.c
@@ -969,10 +969,13 @@ pccard_probe_nomatch(device_t bus, device_t child)
struct pccard_softc *sc = PCCARD_SOFTC(bus);
device_printf(bus, "<unknown card>");
- printf(" (manufacturer=0x%04x, product=0x%04x) at function %d\n",
- sc->card.manufacturer, sc->card.product, pf->number);
- device_printf(bus, " CIS info: %s, %s, %s\n", sc->card.cis1_info[0],
- sc->card.cis1_info[1], sc->card.cis1_info[2]);
+ printf(" (manufacturer=0x%04x, product=0x%04x, function_type=%d) "
+ "at function %d\n", sc->card.manufacturer, sc->card.product,
+ pf->function, pf->number);
+ device_printf(bus, " CIS info: ");
+ for (i = 0; sc->card.cis1_info[i] != NULL && i < 4; i++)
+ printf("%s%s", i > 0 ? ", " : "", sc->card.cis1_info[i]);
+ printf("\n");
return;
}