diff options
author | peter <peter@FreeBSD.org> | 2000-09-05 00:32:19 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2000-09-05 00:32:19 +0000 |
commit | 7fafcfea9c4a3585156c89908a2fa089be8134d7 (patch) | |
tree | d37536b05c92b6e2c8b44f2c50ecea425cc252dd /sys/dev/pci | |
parent | 04da9a4b5ecf12cafa211d3f28aec645650008e4 (diff) | |
download | FreeBSD-src-7fafcfea9c4a3585156c89908a2fa089be8134d7.zip FreeBSD-src-7fafcfea9c4a3585156c89908a2fa089be8134d7.tar.gz |
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).
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 49b4611..07c8cd8 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -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); |