public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.18 KT400 support
@ 2003-02-14 17:25 Toplica Tanaskovic
  2003-02-14 17:41 ` Dave Jones
  0 siblings, 1 reply; 3+ messages in thread
From: Toplica Tanaskovic @ 2003-02-14 17:25 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 263 bytes --]


	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ć Toplica



[-- Attachment #2: KT400.diff --]
[-- Type: text/x-diff, Size: 3071 bytes --]

diff -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: ~

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [PATCH] 2.4.18 KT400 support
@ 2003-02-14 20:50 Nicolas Mailhot
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Mailhot @ 2003-02-14 20:50 UTC (permalink / raw)
  To: linux-kernel; +Cc: Toplica Tanaskovic

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

Hi,

	The KT400 agp ids were submitted (and included with a few bits you
missed) around 2.4.20-rc4 time. Like Dave Jones wrote, they are suitable
only for agp2 cards ATM (I get a agp3 question in my mailbox every week
or so). They are far from useless, lots of people have agp2 cards.

	If you want to do everyone a favor, post a patch to document
CONFIG_AGP_VIA is agp2 only on 2.4 right now. (If you don't I might do
it one day if only to spare Dave Jones and me a few mails until 2.5 agp3
support is backported)

	Regards,

-- 
Nicolas Mailhot

[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-02-14 20:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-14 17:25 [PATCH] 2.4.18 KT400 support Toplica Tanaskovic
2003-02-14 17:41 ` Dave Jones
  -- strict thread matches above, loose matches on Subject: below --
2003-02-14 20:50 Nicolas Mailhot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox