mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
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
2 changed files with 4 additions and 0 deletions
|
|
@ -904,6 +904,8 @@ pci_print_verbose(struct pci_devinfo *dinfo)
|
|||
|
||||
printf("found->\tvendor=0x%04x, dev=0x%04x, revid=0x%02x\n",
|
||||
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",
|
||||
cfg->baseclass, cfg->subclass, cfg->progif,
|
||||
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",
|
||||
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",
|
||||
cfg->baseclass, cfg->subclass, cfg->progif,
|
||||
cfg->hdrtype, cfg->mfdev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue