Skip to contentSkip to conversation

Add device id for P4M900 to via-agp module

PATCH Xavier Bachelot 1 participant 1 message Aug 23, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

This is a new VIA chipset that works with the existing code. It only needs the device id to be added for detection.

drivers/char/agp/via-agp.c +5 -0
@@ -399,6 +399,11 @@
 		.device_id  = PCI_DEVICE_ID_VIA_P4M890,
 		.chipset_name   = "P4M890",
 	},
+	/* P4M900 */
+	{
+		.device_id  = PCI_DEVICE_ID_VIA_VT3364,
+		.chipset_name   = "P4M900",
+	},
 	{ }, /* dummy final entry, always present */
 };
 
include/linux/pci_ids.h +1 -0
@@ -1296,6 +1296,7 @@
 #define PCI_DEVICE_ID_VIA_VT3324	0x0324
 #define PCI_DEVICE_ID_VIA_VT3336	0x0336
 #define PCI_DEVICE_ID_VIA_VT3351	0x0351
+#define PCI_DEVICE_ID_VIA_VT3364	0x0364
 #define PCI_DEVICE_ID_VIA_8371_0	0x0391
 #define PCI_DEVICE_ID_VIA_8501_0	0x0501
 #define PCI_DEVICE_ID_VIA_82C561	0x0561