lkml.org 
[lkml]   [2003]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] 2.4.18 KT400 support
Date

Here is the patch that adds complete support for Via KT400 chipsets for
2.4.18 kernel
Don't forget to update yours pci.ids, before applying this patch don't forget
to update your pci.ids to the latest version.
--
Pozdrav,
Tanasković Toplicadiff -ur orig/linux/drivers/char/agp/agpgart_be.c linux/drivers/char/agp/agpgart_be.c
--- orig/linux/drivers/char/agp/agpgart_be.c Mon Feb 25 20:37:57 2002
+++ linux/drivers/char/agp/agpgart_be.c Tue Feb 11 22:18:23 2003
@@ -3807,6 +3807,12 @@
"Via",
"Apollo Pro KT266",
via_generic_setup },
+ { PCI_DEVICE_ID_VIA_8377_0,
+ PCI_VENDOR_ID_VIA,
+ VIA_APOLLO_KT400,
+ "Via",
+ "Apollo Pro KT400",
+ via_generic_setup },
{ 0,
PCI_VENDOR_ID_VIA,
VIA_GENERIC,
diff -ur orig/linux/drivers/char/drm/drm_agpsupport.h linux/drivers/char/drm/drm_agpsupport.h
--- orig/linux/drivers/char/drm/drm_agpsupport.h Wed Mar 27 13:57:12 2002
+++ linux/drivers/char/drm/drm_agpsupport.h Tue Feb 11 22:20:42 2003
@@ -285,6 +285,8 @@
break;
case VIA_APOLLO_KT133: head->chipset = "VIA Apollo KT133";
break;
+ case VIA_APOLLO_KT400: head->chipset = "VIA Apollo KT400";
+ break;

case VIA_APOLLO_PRO: head->chipset = "VIA Apollo Pro";
break;
diff -ur orig/linux/drivers/char/drm-4.0/agpsupport.c linux/drivers/char/drm-4.0/agpsupport.c
--- orig/linux/drivers/char/drm-4.0/agpsupport.c Mon Feb 25 20:37:57 2002
+++ linux/drivers/char/drm-4.0/agpsupport.c Tue Feb 11 22:23:08 2003
@@ -275,6 +275,8 @@
break;
case VIA_APOLLO_KT133: head->chipset = "VIA Apollo KT133";
break;
+ case VIA_APOLLO_KT400: head->chipset = "VIA Apollo KT400";
+ break;
#endif

case VIA_APOLLO_PRO: head->chipset = "VIA Apollo Pro";
diff -ur orig/linux/drivers/ide/via82cxxx.c linux/drivers/ide/via82cxxx.c
--- orig/linux/drivers/ide/via82cxxx.c Wed Mar 27 13:57:19 2002
+++ linux/drivers/ide/via82cxxx.c Tue Feb 11 22:39:28 2003
@@ -105,8 +105,8 @@
} via_isa_bridges[] = {
#ifdef FUTURE_BRIDGES
{ "vt8237", PCI_DEVICE_ID_VIA_8237, 0x00, 0x2f, VIA_UDMA_133 },
- { "vt8235", PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 },
#endif
+ { "vt8235", PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 },
{ "vt8233a", PCI_DEVICE_ID_VIA_8233A, 0x00, 0x2f, VIA_UDMA_133 },
{ "vt8233c", PCI_DEVICE_ID_VIA_8233C_0, 0x00, 0x2f, VIA_UDMA_100 },
{ "vt8233", PCI_DEVICE_ID_VIA_8233_0, 0x00, 0x2f, VIA_UDMA_100 },
diff -ur orig/linux/include/linux/agp_backend.h linux/include/linux/agp_backend.h
--- orig/linux/include/linux/agp_backend.h Fri Nov 9 23:11:15 2001
+++ linux/include/linux/agp_backend.h Tue Feb 11 22:25:47 2003
@@ -59,6 +59,7 @@
VIA_APOLLO_PRO,
VIA_APOLLO_KX133,
VIA_APOLLO_KT133,
+ VIA_APOLLO_KT400,
SIS_GENERIC,
AMD_GENERIC,
AMD_IRONGATE,
diff -ur orig/linux/include/linux/pci_ids.h linux/include/linux/pci_ids.h
--- orig/linux/include/linux/pci_ids.h Wed Mar 27 13:57:17 2002
+++ linux/include/linux/pci_ids.h Tue Feb 11 22:41:40 2003
@@ -963,6 +963,8 @@
#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 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
Only in linux/include/linux: ~
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.024 / U:1.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site