[PATCH] amd64-agp: Add SIS760 PCI ID

From: Daniel Drake
Date: Tue Jun 28 2005 - 20:04:51 EST


From: Scott Fudally <sfudally@xxxxxxx>

This patch adds the SiS 760 ID to the amd64-agp driver, so that agpgart can be
used on Athlon64 boards based on this chip.

Scott already submitted this but did not recieve any response. To ensure it
has been sent in correctly, I am resubmitting this now on his behalf.

Signed-off-by: Daniel Drake <dsd@xxxxxxxxxx>

--- linux/drivers/char/agp/amd64-agp.c.orig 2005-06-29 00:54:37.000000000 +0100
+++ linux/drivers/char/agp/amd64-agp.c 2005-06-29 00:56:16.000000000 +0100
@@ -686,6 +686,15 @@ static struct pci_device_id agp_amd64_pc
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID,
},
+ /* SIS 760 */
+ {
+ .class = (PCI_CLASS_BRIDGE_HOST << 8),
+ .class_mask = ~0,
+ .vendor = PCI_VENDOR_ID_SI,
+ .device = PCI_DEVICE_ID_SI_760,
+ .subvendor = PCI_ANY_ID,
+ .subdevice = PCI_ANY_ID,
+ },
{ }
};