mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Toplica Tanaskovic <toptan@EUnet.yu>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.4.18 KT400 support
Date: Fri, 14 Feb 2003 18:25:52 +0100	[thread overview]
Message-ID: <200302141821.14768.toptan@EUnet.yu> (raw)

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

             reply	other threads:[~2003-02-14 17:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-14 17:25 Toplica Tanaskovic [this message]
2003-02-14 17:41 ` Dave Jones
2003-02-14 20:50 Nicolas Mailhot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200302141821.14768.toptan@EUnet.yu \
    --to=toptan@eunet.yu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®