diff options
author | John Baldwin <jhb@FreeBSD.org> | 2004-07-02 03:39:33 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2004-07-02 03:39:33 +0000 |
commit | b68c582ef8b2190b90caf758b3a14a9380761b50 (patch) | |
tree | b697f1ebb58c4a611e58ddbf38f6b3ed2930a2ed | |
parent | cd28f17da2f89e4e3f6dc3874912ac7e1947cfc0 (diff) | |
download | src-b68c582ef8b2190b90caf758b3a14a9380761b50.tar.gz src-b68c582ef8b2190b90caf758b3a14a9380761b50.zip |
Add support for the VIA Apollo KT400/400A/600 AGP host bridges which use
the VIA v3 register offsets.
PR: 68545
Submitted by: Ariff Abdullah <skywizard@mybsd.org.my>
Notes
Notes:
svn path=/head/; revision=131433
-rw-r--r-- | sys/dev/agp/agp_via.c | 3 | ||||
-rw-r--r-- | sys/pci/agp_via.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/agp/agp_via.c b/sys/dev/agp/agp_via.c index 7fe3bd02652d..e3271af413c7 100644 --- a/sys/dev/agp/agp_via.c +++ b/sys/dev/agp/agp_via.c @@ -89,6 +89,8 @@ agp_via_match(device_t dev) return ("VIA 82C691 (Apollo Pro) host to PCI bridge"); case 0x31881106: return ("VIA 8385 host to PCI bridge"); + case 0x31891106: + return ("VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge"); }; if (pci_get_vendor(dev) == 0x1106) @@ -123,6 +125,7 @@ agp_via_attach(device_t dev) switch (pci_get_devid(dev)) { case 0x31881106: + case 0x31891106: sc->regs = via_v3_regs; break; default: diff --git a/sys/pci/agp_via.c b/sys/pci/agp_via.c index 7fe3bd02652d..e3271af413c7 100644 --- a/sys/pci/agp_via.c +++ b/sys/pci/agp_via.c @@ -89,6 +89,8 @@ agp_via_match(device_t dev) return ("VIA 82C691 (Apollo Pro) host to PCI bridge"); case 0x31881106: return ("VIA 8385 host to PCI bridge"); + case 0x31891106: + return ("VIA 8377 (Apollo KT400/KT400A/KT600) host to PCI bridge"); }; if (pci_get_vendor(dev) == 0x1106) @@ -123,6 +125,7 @@ agp_via_attach(device_t dev) switch (pci_get_devid(dev)) { case 0x31881106: + case 0x31891106: sc->regs = via_v3_regs; break; default: |