From 3ae87b7ec696b58cb8b85e6aba792cd6356e65fe Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Thu, 18 Jul 2002 10:57:20 +0000 Subject: [PATCH] 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. --- sys/amd64/pci/pci_bus.c | 3 +++ sys/i386/pci/pci_bus.c | 3 +++ 2 files changed, 6 insertions(+) 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;