aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/pci
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-07-18 12:56:54 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-07-18 12:56:54 +0000
commit61658cf6a1875de9bbaa0ad9076ed4e5d47bea29 (patch)
tree7f65914b2426cd2a843193bdbdbd650cfaf0ecef /sys/amd64/pci
parentd29831440ac1f230d5d44c1fcc814c3103677ce1 (diff)
downloadsrc-61658cf6a1875de9bbaa0ad9076ed4e5d47bea29.tar.gz
src-61658cf6a1875de9bbaa0ad9076ed4e5d47bea29.zip
Add initialization code for the AMD Elan sc520 which maps the MMCR
into KVM and sets the i8254 frequency to the correct value.
Notes
Notes: svn path=/head/; revision=100321
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 4e325b225b67..65ba7d3cea0e 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";