When dumping the 'found devices' list in verbose mode, actually show the
bus/slot/function numbers. The old PCI code used other markers or something, but without it here under the new pci code it is very hard to tell which device is which (this only affects bootverbose mode).
This commit is contained in:
parent
58da4602af
commit
28ea1bf869
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65457
@ -904,6 +904,8 @@ pci_print_verbose(struct pci_devinfo *dinfo)
|
|||||||
|
|
||||||
printf("found->\tvendor=0x%04x, dev=0x%04x, revid=0x%02x\n",
|
printf("found->\tvendor=0x%04x, dev=0x%04x, revid=0x%02x\n",
|
||||||
cfg->vendor, cfg->device, cfg->revid);
|
cfg->vendor, cfg->device, cfg->revid);
|
||||||
|
printf("\tbus=%d, slot=%d, func=%d\n",
|
||||||
|
cfg->bus, cfg->slot, cfg->func);
|
||||||
printf("\tclass=%02x-%02x-%02x, hdrtype=0x%02x, mfdev=%d\n",
|
printf("\tclass=%02x-%02x-%02x, hdrtype=0x%02x, mfdev=%d\n",
|
||||||
cfg->baseclass, cfg->subclass, cfg->progif,
|
cfg->baseclass, cfg->subclass, cfg->progif,
|
||||||
cfg->hdrtype, cfg->mfdev);
|
cfg->hdrtype, cfg->mfdev);
|
||||||
|
@ -904,6 +904,8 @@ pci_print_verbose(struct pci_devinfo *dinfo)
|
|||||||
|
|
||||||
printf("found->\tvendor=0x%04x, dev=0x%04x, revid=0x%02x\n",
|
printf("found->\tvendor=0x%04x, dev=0x%04x, revid=0x%02x\n",
|
||||||
cfg->vendor, cfg->device, cfg->revid);
|
cfg->vendor, cfg->device, cfg->revid);
|
||||||
|
printf("\tbus=%d, slot=%d, func=%d\n",
|
||||||
|
cfg->bus, cfg->slot, cfg->func);
|
||||||
printf("\tclass=%02x-%02x-%02x, hdrtype=0x%02x, mfdev=%d\n",
|
printf("\tclass=%02x-%02x-%02x, hdrtype=0x%02x, mfdev=%d\n",
|
||||||
cfg->baseclass, cfg->subclass, cfg->progif,
|
cfg->baseclass, cfg->subclass, cfg->progif,
|
||||||
cfg->hdrtype, cfg->mfdev);
|
cfg->hdrtype, cfg->mfdev);
|
||||||
|
Loading…
Reference in New Issue
Block a user