aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-07-18 10:57:20 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-07-18 10:57:20 +0000
commit3ae87b7ec696b58cb8b85e6aba792cd6356e65fe (patch)
tree73f0231f16ec3ac7525357747d2ae9d0177e87a8 /sys
parent9e7c1bce605c0ce02208c74661be029d34a533bd (diff)
downloadsrc-3ae87b7ec696b58cb8b85e6aba792cd6356e65fe.tar.gz
src-3ae87b7ec696b58cb8b85e6aba792cd6356e65fe.zip
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.
Notes
Notes: svn path=/head/; revision=100310
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 83990f8fdb6d..4e325b225b67 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 83990f8fdb6d..4e325b225b67 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;