agpgart via KT400 cleanup & KM400 support
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
@@ -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
@@ -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,