From 9d76324839af6cca8fd19d1188f864924fb21532 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 25 Nov 2010 15:42:33 +0000 Subject: Add device IDs for two more ServerWorks Host-PCI bridges so that we can read their starting PCI bus number for older systems that do not support ACPI (or have a broken _BBN method). PR: kern/148108 MFC after: 1 week --- sys/dev/pci/pci_pci.c | 2 ++ sys/i386/pci/pci_bus.c | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index 79158187cab8..199c13297786 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -860,7 +860,9 @@ host_pcib_get_busno(pci_read_config_fn read_config, int bus, int slot, int func, case 0x00171166: case 0x01011166: case 0x010f1014: + case 0x01101166: case 0x02011166: + case 0x02251166: case 0x03021014: *busnum = read_config(bus, slot, func, 0x44, 1); break; diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c index ae4d520d6d80..b7fa7d1e6f16 100644 --- a/sys/i386/pci/pci_bus.c +++ b/sys/i386/pci/pci_bus.c @@ -204,6 +204,9 @@ legacy_pcib_is_host_bridge(int bus, int slot, int func, break; } break; + case 0x1A308086: + s = "Intel 82845 Host to PCI bridge"; + break; /* AMD -- vendor 0x1022 */ case 0x30001022: @@ -304,6 +307,8 @@ legacy_pcib_is_host_bridge(int bus, int slot, int func, case 0x00171166: /* FALLTHROUGH */ case 0x01011166: + case 0x01101166: + case 0x02251166: s = "ServerWorks host to PCI bridge(unknown chipset)"; *busnum = legacy_pcib_read_config(0, bus, slot, func, 0x44, 1); break; -- cgit v1.2.3