[PATCH] K8T800Pro AGP Support

From: augustus
Date: Tue Jun 29 2004 - 22:38:51 EST


Patch to add support for the K8T800Pro chip in the AGPGART driver for
amd64-agp.

Signed-off-by: Kris Kersey <augustus@xxxxxxxxxxxxxxxxx>

Let me know if there are any problems. Please reply to sender on this
one.

Kris Kersey (Augustus)
LinuxHardware.org Site Manager
augustus@xxxxxxxxxxxxxxxxx
Gentoo Linux AMD64 Developer
augustus@xxxxxxxxxx

diff -uprN linux-2.6.7/drivers/char/agp/amd64-agp.c linux-2.6.7-K8T800Pro/drivers/char/agp/amd64-agp.c
--- linux-2.6.7/drivers/char/agp/amd64-agp.c 2004-06-21 00:01:41.000000000 -0400
+++ linux-2.6.7-K8T800Pro/drivers/char/agp/amd64-agp.c 2004-06-29 23:27:02.474431400 -0400
@@ -536,6 +536,15 @@ static struct pci_device_id agp_amd64_pc
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID,
},
+ /* VIA K8T800Pro */
+ {
+ .class = (PCI_CLASS_BRIDGE_HOST << 8),
+ .class_mask = ~0,
+ .vendor = PCI_VENDOR_ID_VIA,
+ .device = PCI_DEVICE_ID_VIA_K8T800PRO_0,
+ .subvendor = PCI_ANY_ID,
+ .subdevice = PCI_ANY_ID,
+ },
/* VIA K8T800 */
{
.class = (PCI_CLASS_BRIDGE_HOST << 8),
diff -uprN linux-2.6.7/include/linux/pci_ids.h linux-2.6.7-K8T800Pro/include/linux/pci_ids.h
--- linux-2.6.7/include/linux/pci_ids.h 2004-06-21 00:01:41.000000000 -0400
+++ linux-2.6.7-K8T800Pro/include/linux/pci_ids.h 2004-06-29 23:27:02.475431248 -0400
@@ -1174,6 +1174,7 @@
#define PCI_DEVICE_ID_VIA_8763_0 0x0198
#define PCI_DEVICE_ID_VIA_8380_0 0x0204
#define PCI_DEVICE_ID_VIA_PX8X0_0 0x0259
+#define PCI_DEVICE_ID_VIA_K8T800PRO_0 0x0282
#define PCI_DEVICE_ID_VIA_8363_0 0x0305
#define PCI_DEVICE_ID_VIA_8371_0 0x0391
#define PCI_DEVICE_ID_VIA_8501_0 0x0501

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/