summaryrefslogtreecommitdiffstats
path: root/sys/amd64/pci
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-07-18 12:56:54 +0000
committerphk <phk@FreeBSD.org>2002-07-18 12:56:54 +0000
commita535ae674163bf2e4c7e82bad38f699906bc0286 (patch)
tree7f65914b2426cd2a843193bdbdbd650cfaf0ecef /sys/amd64/pci
parent22ef5eeda558acdeccae3ce8719709218305667c (diff)
downloadFreeBSD-src-a535ae674163bf2e4c7e82bad38f699906bc0286.zip
FreeBSD-src-a535ae674163bf2e4c7e82bad38f699906bc0286.tar.gz
Add initialization code for the AMD Elan sc520 which maps the MMCR
into KVM and sets the i8254 frequency to the correct value.
Diffstat (limited to 'sys/amd64/pci')
-rw-r--r--sys/amd64/pci/pci_bus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c
index 4e325b2..65ba7d3 100644
--- a/sys/amd64/pci/pci_bus.c
+++ b/sys/amd64/pci/pci_bus.c
@@ -40,6 +40,7 @@
#include <machine/nexusvar.h>
#include <machine/pci_cfgreg.h>
#include <machine/segments.h>
+#include <machine/cputypes.h>
#include <machine/pc/bios.h>
#include "pcib_if.h"
@@ -177,6 +178,7 @@ nexus_pcib_is_host_bridge(int bus, int slot, int func,
/* AMD -- vendor 0x1022 */
case 0x30001022:
s = "AMD Elan SC520 host to PCI bridge";
+ init_AMD_Elan_sc520();
break;
case 0x70061022:
s = "AMD-751 host to PCI bridge";
OpenPOWER on IntegriCloud