From cdb2915dc992c8eaf01d52cd808b0ac0b85b4566 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Thu, 2 Jan 2003 16:09:40 -0100 Subject: [AGP] Move the VIA KT400 to its own driver. Right now its the only VIA AGP 3.0 chipset. At some point in time it may become via-agp3.c, but until then its cleaner to seperate this from the VIA AGP 2.0 driver. The 2.0 driver will still work on a KT400 with a 2.0 compliant graphic card present. If the 2.0 driver finds the bridge in 3.0 mode, it aborts. Likewise, the 3.0 driver will abort if the bridge is in 2.0 mode. Confused yet? --- include/linux/agp_backend.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') diff --git a/include/linux/agp_backend.h b/include/linux/agp_backend.h index e6fa886e8d82..3771ff917895 100644 --- a/include/linux/agp_backend.h +++ b/include/linux/agp_backend.h @@ -60,6 +60,7 @@ enum chipset_type { VIA_APOLLO_KX133, VIA_APOLLO_KT133, VIA_APOLLO_KT400, + VIA_APOLLO_KT400_3, VIA_APOLLO_PRO_266, VIA_VT8605, SIS_GENERIC, -- cgit v1.2.3 From bdb0821bb5d98bc3a14f4845c60fb5dd28f3d8e1 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Thu, 2 Jan 2003 18:08:47 -0100 Subject: [AGP] VIA VT8235/P4X400 GART support (based upon 2.4 patch from Richard Baverstock ) --- drivers/char/agp/via-agp.c | 5 +++++ include/linux/agp_backend.h | 1 + include/linux/pci_ids.h | 1 + 3 files changed, 7 insertions(+) (limited to 'include/linux') diff --git a/drivers/char/agp/via-agp.c b/drivers/char/agp/via-agp.c index ea301edbaa00..b9ec5981f6ce 100644 --- a/drivers/char/agp/via-agp.c +++ b/drivers/char/agp/via-agp.c @@ -202,6 +202,11 @@ static struct agp_device_ids via_agp_device_ids[] __initdata = .chipset = VIA_VT8605, .chipset_name = "Apollo ProSavage PM133" }, + { + .device_id = PCI_DEVICE_ID_VIA_8235_0, + .chipset = VIA_P4X400, + .chipset_name = "P4X400" + }, { }, /* dummy final entry, always present */ }; diff --git a/include/linux/agp_backend.h b/include/linux/agp_backend.h index 3771ff917895..90890f4e9e6d 100644 --- a/include/linux/agp_backend.h +++ b/include/linux/agp_backend.h @@ -63,6 +63,7 @@ enum chipset_type { VIA_APOLLO_KT400_3, VIA_APOLLO_PRO_266, VIA_VT8605, + VIA_P4X400, SIS_GENERIC, AMD_GENERIC, AMD_IRONGATE, diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index f9945ae00d7a..89874d8eeee7 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -1092,6 +1092,7 @@ #define PCI_DEVICE_ID_VIA_8233C_0 0x3109 #define PCI_DEVICE_ID_VIA_8361 0x3112 #define PCI_DEVICE_ID_VIA_8233A 0x3147 +#define PCI_DEVICE_ID_VIA_8235_0 0x3168 #define PCI_DEVICE_ID_VIA_8235 0x3177 #define PCI_DEVICE_ID_VIA_8377_0 0x3189 #define PCI_DEVICE_ID_VIA_86C100A 0x6100 -- cgit v1.2.3