From 7fafcfea9c4a3585156c89908a2fa089be8134d7 Mon Sep 17 00:00:00 2001 From: peter Date: Tue, 5 Sep 2000 00:32:19 +0000 Subject: 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). --- sys/dev/pci/pci.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/pci/pci.c') 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); -- cgit v1.1