summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-07-18 10:57:20 +0000
committerphk <phk@FreeBSD.org>2002-07-18 10:57:20 +0000
commitc2a5e5046751ff18438147280f92b372d5eac5c6 (patch)
tree73f0231f16ec3ac7525357747d2ae9d0177e87a8 /sys
parent5d00cd5ad798f2b8ea6a569981d361088b455af7 (diff)
downloadFreeBSD-src-c2a5e5046751ff18438147280f92b372d5eac5c6.zip
FreeBSD-src-c2a5e5046751ff18438147280f92b372d5eac5c6.tar.gz
Add an entry for the AMD Elan SC520 hostbridge. I do not belive we can
identify this gadget on the CPUID result alone, so I intend to activate the necessary magic (i8254 frequency for instance) for it based on the precense of the on-chip host to PCI bridge.
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/pci/pci_bus.c3
-rw-r--r--sys/i386/pci/pci_bus.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c
index 83990f8..4e325b2 100644
--- a/sys/amd64/pci/pci_bus.c
+++ b/sys/amd64/pci/pci_bus.c
@@ -175,6 +175,9 @@ nexus_pcib_is_host_bridge(int bus, int slot, int func,
break;
/* AMD -- vendor 0x1022 */
+ case 0x30001022:
+ s = "AMD Elan SC520 host to PCI bridge";
+ break;
case 0x70061022:
s = "AMD-751 host to PCI bridge";
break;
diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c
index 83990f8..4e325b2 100644
--- a/sys/i386/pci/pci_bus.c
+++ b/sys/i386/pci/pci_bus.c
@@ -175,6 +175,9 @@ nexus_pcib_is_host_bridge(int bus, int slot, int func,
break;
/* AMD -- vendor 0x1022 */
+ case 0x30001022:
+ s = "AMD Elan SC520 host to PCI bridge";
+ break;
case 0x70061022:
s = "AMD-751 host to PCI bridge";
break;
OpenPOWER on IntegriCloud