Skip to contentSkip to conversation

agpgart via KT400 cleanup & KM400 support

PATCH New David Jez 1 participant 1 message Nov 26, 2003 Agpgart driver

lore
Share & tools
lore

David Jez

author
#0 lore raw

PATCH 1/1 agpgart via KT400 cleanup & KM400 support

Hi,

this patch cleans double KT400 definition and adds support for KM400. Please
aply.

Regards,

Signature · 5 lines
-------------------------------------------------------
  David "Dave" Jez                Brno, CZ, Europe
 E-mail: [email protected]
PGP key: finger [email protected]
---------=[ ~EOF ]=------------------------------------
 linux/drivers/char/agp/agp.h        |    3 +++
 linux/drivers/char/agp/agpgart_be.c |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
drivers/char/agp/agp.h +3 -0
diff -urN linux.orig/drivers/char/agp/agp.h linux/drivers/char/agp/agp.h
@@ -178,6 +178,9 @@
 #ifndef PCI_DEVICE_ID_VIA_8385_0
 #define PCI_DEVICE_ID_VIA_8385_0	0x3188
 #endif 
+#ifndef PCI_DEVICE_ID_VIA_8378_0
+#define PCI_DEVICE_ID_VIA_8378_0      0x3205
+#endif
 #ifndef PCI_DEVICE_ID_INTEL_810_0
 #define PCI_DEVICE_ID_INTEL_810_0       0x7120
 #endif
drivers/char/agp/agpgart_be.c +2 -2
diff -urN linux.orig/drivers/char/agp/agpgart_be.c linux/drivers/char/agp/agpgart_be.c
@@ -6334,11 +6334,11 @@
 		"Via",
 		"Apollo Pro KT400",
 		via_generic_setup },
-        { PCI_DEVICE_ID_VIA_8377_0,
+        { PCI_DEVICE_ID_VIA_8378_0,
 		PCI_VENDOR_ID_VIA,
 		VIA_APOLLO_KT400,
 		"Via",
-		"Apollo Pro KT400",
+		"Apollo Pro KM400",
 		via_generic_setup },
         { PCI_DEVICE_ID_VIA_CLE266,
 		PCI_VENDOR_ID_VIA,