]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
agp: add support for 662/671 to agp driver
authorChaoyu Chen <chaoyu_chen@sis.com>
Wed, 20 Feb 2008 00:18:46 +0000 (10:18 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 20 Feb 2008 00:18:46 +0000 (10:18 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/char/agp/sis-agp.c

index 6cf54fe6020729aac1dc0c3f40a6310b5dc06d98..b6791846809fc7cda691146ff625befac1342bec 100644 (file)
@@ -14,6 +14,9 @@
 #define SIS_TLBCNTRL   0x97
 #define SIS_TLBFLUSH   0x98
 
+#define PCI_DEVICE_ID_SI_662   0x0662
+#define PCI_DEVICE_ID_SI_671   0x0671
+
 static int __devinitdata agp_sis_force_delay = 0;
 static int __devinitdata agp_sis_agp_spec = -1;
 
@@ -347,6 +350,22 @@ static struct pci_device_id agp_sis_pci_table[] = {
                .subvendor      = PCI_ANY_ID,
                .subdevice      = PCI_ANY_ID,
        },
+       {
+               .class          = (PCI_CLASS_BRIDGE_HOST << 8),
+               .class_mask     = ~0,
+               .vendor         = PCI_VENDOR_ID_SI,
+               .device         = PCI_DEVICE_ID_SI_662,
+               .subvendor      = PCI_ANY_ID,
+               .subdevice      = PCI_ANY_ID,
+       },
+       {
+               .class          = (PCI_CLASS_BRIDGE_HOST << 8),
+               .class_mask     = ~0,
+               .vendor         = PCI_VENDOR_ID_SI,
+               .device         = PCI_DEVICE_ID_SI_671,
+               .subvendor      = PCI_ANY_ID,
+               .subdevice      = PCI_ANY_ID,
+       },
        {
                .class          = (PCI_CLASS_BRIDGE_HOST << 8),
                .class_mask     = ~0,