From 5165a17df50248cac8f6bb461cf3cff3814fa173 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 25 Mar 2005 14:18:50 +0000 Subject: Add code to read the primary PCI bus number out of the Compaq/HP 6010 hotplug Host to PCI bridge. This is only needed for the non-ACPI case as the BIOS includes a proper _BBN method in ACPI. --- sys/dev/pci/pci_pci.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index c246542ed2c1..130205cf36dd 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -562,6 +562,11 @@ host_pcib_get_busno(pci_read_config_fn read_config, int bus, int slot, int func, case 0x03021014: *busnum = read_config(bus, slot, func, 0x44, 1); break; + + /* Compaq/HP -- vendor 0x0e11 */ + case 0x60100e11: + *busnum = read_config(bus, slot, func, 0xc8, 1); + break; default: /* Don't know how to read bus number. */ return 0; -- cgit v1.3