mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Include class designation in pnpinfo for generic driver loading
This commit is contained in:
parent
867054020f
commit
2c422e4625
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111066
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user