]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Via KT400 agp support
authorNicolas Mailhot <nicolas.mailhot@laposte.net>
Thu, 21 Nov 2002 06:25:51 +0000 (22:25 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Thu, 21 Nov 2002 06:25:51 +0000 (22:25 -0800)
This adds the KT400 pci ID and lists it as using Via generic setup
routines.  This patch has been tested with all GL xscreensavers I could
find, and been reviewed by Dave Jones (full patch history at
http://bugzilla.kernel.org/show_bug.cgi?id=3D14).

diff -uNr linux-2.5.47-ac6.orig/drivers/char/agp/agp.c
linux-2.5.47-ac6/drivers/char/agp/agp.c

drivers/char/agp/agp.c
include/linux/agp_backend.h
include/linux/pci_ids.h

index 6130ff20c1e77cd007957c54222918b88bf658f1..d2034e6bceb72165976a803be2a398a5ca0c35cb 100644 (file)
@@ -1149,6 +1149,14 @@ static struct {
                .chipset_name   = "Apollo Pro KT266",
                .chipset_setup  = via_generic_setup
        },
+       {
+               .device_id      = PCI_DEVICE_ID_VIA_8377_0,
+               .vendor_id      = PCI_VENDOR_ID_VIA,
+               .chipset        = VIA_APOLLO_KT400,
+               .vendor_name    = "Via",
+               .chipset_name   = "Apollo Pro KT400",
+               .chipset_setup  = via_generic_setup
+       },
        {
                .device_id      = PCI_DEVICE_ID_VIA_8653_0,
                .vendor_id      = PCI_VENDOR_ID_VIA,
index f250d4da587c133c8481835790e936bbb70e556e..ad1d8a935d21dad36a3b80a482c294fbc060eb5e 100644 (file)
@@ -61,6 +61,7 @@ enum chipset_type {
        VIA_APOLLO_PRO,
        VIA_APOLLO_KX133,
        VIA_APOLLO_KT133,
+       VIA_APOLLO_KT400,
        SIS_GENERIC,
        AMD_GENERIC,
        AMD_IRONGATE,
index 44c84141a6b43af07e274706f09c4172a0ddcf06..f8890c70fa89b0b88ad81bd5dae77f57cea9f211 100644 (file)
 #define PCI_DEVICE_ID_VIA_8361         0x3112 
 #define PCI_DEVICE_ID_VIA_8233A                0x3147
 #define PCI_DEVICE_ID_VIA_8235         0x3177
+#define PCI_DEVICE_ID_VIA_8377_0       0x3189
 #define PCI_DEVICE_ID_VIA_86C100A      0x6100
 #define PCI_DEVICE_ID_VIA_8231         0x8231
 #define PCI_DEVICE_ID_VIA_8231_4       0x8235