[PATCH] to get AGP working and DRI working on KT-133 and KX-133 2.4.0-test6: the second was :Re: Is there any interest to get KX-133, KT-133 AGP support intothe kernel ?

From: Michael Meding (Michael@Meding.net)
Date: Sun Aug 13 2000 - 18:48:30 EST


Hi there,

I have been informed (:-)) osrry for that), that a diff -ru is what is
desired here.

So please see attached.

Have fun

Michael

diff -ru linux-2.4.0-test6/drivers/char/agp/agp.h /usr/src/linux-2.4.0-test6/drivers/char/agp/agp.h
--- linux-2.4.0-test6/drivers/char/agp/agp.h Tue Aug 8 18:27:33 2000
+++ /usr/src/linux-2.4.0-test6/drivers/char/agp/agp.h Sun Aug 13 23:49:00 2000
@@ -157,6 +157,18 @@
 #ifndef PCI_DEVICE_ID_VIA_82C691_1
 #define PCI_DEVICE_ID_VIA_82C691_1 0x8691
 #endif
+#ifndef PCI_DEVICE_ID_VIA_8371_0
+#define PCI_DEVICE_ID_VIA_8371_0 0x0391
+#endif
+#ifndef PCI_DEVICE_ID_VIA_8371_1
+#define PCI_DEVICE_ID_VIA_8371_1 0x8391
+#endif
+#ifndef PCI_DEVICE_ID_VIA_8363_0
+#define PCI_DEVICE_ID_VIA_8363_0 0x0305
+#endif
+#ifndef PCI_DEVICE_ID_VIA_8363_1
+#define PCI_DEVICE_ID_VIA_8363_1 0x8305
+#endif
 #ifndef PCI_DEVICE_ID_INTEL_810_0
 #define PCI_DEVICE_ID_INTEL_810_0 0x7120
 #endif
diff -ru linux-2.4.0-test6/drivers/char/agp/agpgart_be.c /usr/src/linux-2.4.0-test6/drivers/char/agp/agpgart_be.c
--- linux-2.4.0-test6/drivers/char/agp/agpgart_be.c Tue Aug 8 18:27:33 2000
+++ /usr/src/linux-2.4.0-test6/drivers/char/agp/agpgart_be.c Mon Aug 14 00:09:08 2000
@@ -413,7 +413,7 @@
 /*
  * Driver routines - start
  * Currently this module supports the
- * i810, 440lx, 440bx, 440gx, via vp3, via mvp3,
+ * i810, 440lx, 440bx, 440gx, via vp3, via mvp3, via kx133, via kt133,
  * amd irongate, ALi M1541 and generic support for the
  * SiS chipsets.
  */
@@ -2129,9 +2129,15 @@
 #ifdef CONFIG_AGP_VIA
         { PCI_DEVICE_ID_VIA_8371_0,
                 PCI_VENDOR_ID_VIA,
- VIA_APOLLO_SUPER,
+ VIA_APOLLO_KXPRO,
                 "Via",
- "Apollo Super",
+ "Apollo Kx133",
+ via_generic_setup },
+ { PCI_DEVICE_ID_VIA_8363_0,
+ PCI_VENDOR_ID_VIA,
+ VIA_APOLLO_KTPRO,
+ "Via",
+ "Apollo Kt133",
                 via_generic_setup },
         { PCI_DEVICE_ID_VIA_8501_0,
                 PCI_VENDOR_ID_VIA,
diff -ru linux-2.4.0-test6/drivers/char/drm/agpsupport.c /usr/src/linux-2.4.0-test6/drivers/char/drm/agpsupport.c
--- linux-2.4.0-test6/drivers/char/drm/agpsupport.c Tue Aug 8 18:27:33 2000
+++ /usr/src/linux-2.4.0-test6/drivers/char/drm/agpsupport.c Mon Aug 14 00:02:21 2000
@@ -309,7 +309,8 @@
 
 #if LINUX_VERSION_CODE >= 0x020400
                 case VIA_MVP4: head->chipset = "VIA MVP4"; break;
- case VIA_APOLLO_SUPER: head->chipset = "VIA Apollo Super";
+ case VIA_APOLLO_KTPRO: head->chipset = "VIA Apollo Kt133";
+ case VIA_APOLLO_KXPRO: head->chipset = "VIA Apollo Kx133";
                         break;
 #endif
 
diff -ru linux-2.4.0-test6/drivers/pci/pci.ids /usr/src/linux-2.4.0-test6/drivers/pci/pci.ids
--- linux-2.4.0-test6/drivers/pci/pci.ids Wed Aug 9 22:49:29 2000
+++ /usr/src/linux-2.4.0-test6/drivers/pci/pci.ids Sun Aug 13 23:54:58 2000
@@ -1964,7 +1964,7 @@
         6100 VT85C100A [Rhine II]
         8231 VT8231 [PCI-to-ISA Bridge]
         8235 VT8235 Power Management
- 8305 VT8365 [KM133 AGP]
+ 8305 VT8305 [KM133 AGP]
         8391 VT8363/8371 [KT133/KX133 AGP]
         8501 VT8501 [Apollo MVP4 AGP]
         8596 VT82C596 [Apollo PRO AGP]
diff -ru linux-2.4.0-test6/include/linux/agp_backend.h /usr/src/linux-2.4.0-test6/include/linux/agp_backend.h
--- linux-2.4.0-test6/include/linux/agp_backend.h Sat Aug 5 03:13:11 2000
+++ /usr/src/linux-2.4.0-test6/include/linux/agp_backend.h Sun Aug 13 23:52:56 2000
@@ -50,7 +50,8 @@
         VIA_VP3,
         VIA_MVP3,
         VIA_MVP4,
- VIA_APOLLO_SUPER,
+ VIA_APOLLO_KXPRO,
+ VIA_APOLLO_KTPRO,
         VIA_APOLLO_PRO,
         SIS_GENERIC,
         AMD_GENERIC,

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:31 EST