aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2003-02-18 03:25:57 +0000
committerWarner Losh <imp@FreeBSD.org>2003-02-18 03:25:57 +0000
commit2c422e46257af24e849f280acf22d7eb55d21b37 (patch)
treec7ef6d5ca86bb57c6c45771e19beb0238848ce37 /sys/dev
parent867054020f5775e1e07fc8c637e540c1fc2c21f8 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 39ab54c5ac27e..130bf3c822b83 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -1416,8 +1416,9 @@ pci_child_pnpinfo_str_method(device_t cbdev, device_t child, char *buf,
dinfo = device_get_ivars(child);
cfg = &dinfo->cfg;
snprintf(buf, buflen, "vendor=0x%04x device=0x%04x subvendor=0x%04x "
- "subdevice=0x%04x", cfg->vendor, cfg->device, cfg->subvendor,
- cfg->subdevice);
+ "subdevice=0x%04x class=0x%02x%02x%02x", cfg->vendor, cfg->device,
+ cfg->subvendor, cfg->subdevice, cfg->baseclass, cfg->subclass,
+ cfg->progif);
return (0);
}