Skip to contentSkip to conversation

[2.5] [Resend] Via KT400 agp support II

PATCH New Nicolas Mailhot 1 participant 1 message Dec 3, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 [2.5] [Resend] Via KT400 agp support II

[ Re-send, still applies as-is to 2.5.50-bk3 ]

Hi,

This little patch adds some cosmetic changes to the one that went in
mainline (found when I did the 2.4 port) :
- corrects the drm startup message so it doesn't print unknown chip for the kt400
- adds a bunch of ids to the pci database (started with the kt400, ended with all unreferenced chips on my box)

This is purely cosmetic ; the necessary part to get the kt400 was in
the first patch. Anyway this is nice to have and impactless.

Please apply,

diff -uNr linux-2.5.49-bk1.orig/drivers/char/drm/drm_agpsupport.h linux-2.5.49-bk1/drivers/char/drm/drm_agpsupport.h
--- linux-2.5.49-bk1.orig/drivers/char/drm/drm_agpsupport.h 2002-11-22
22:40:12.000000000 +0100
+++ linux-2.5.49-bk1/drivers/char/drm/drm_agpsupport.h 2002-11-26
22:27:52.000000000 +0100
@@ -286,9 +286,11 @@
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;
+
case SIS_GENERIC: head->chipset = "SiS"; break;
case AMD_GENERIC: head->chipset = "AMD"; break;
case AMD_IRONGATE: head->chipset = "AMD Irongate"; break;
diff -uNr linux-2.5.49-bk1.orig/drivers/pci/pci.ids linux-2.5.49-bk1/drivers/pci/pci.ids
--- linux-2.5.49-bk1.orig/drivers/pci/pci.ids 2002-11-26
22:15:27.000000000 +0100
+++ linux-2.5.49-bk1/drivers/pci/pci.ids 2002-11-26 22:25:45.000000000
+0100
@@ -582,6 +582,7 @@
6003 CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator]

 		1013 4280  Crystal SoundFusion PCI Audio Accelerator
 		1681 0050  Hercules Game Theater XP
+		1681 a011  Hercules Fortissimo III 7.1

6004 CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] 6005 Crystal CS4281 PCI Audio
1013 4281 Crystal CS4281 PCI Audio
@@ -2687,6 +2688,7 @@

 	0505  VT82C505
 	0561  VT82C561
 	0571  VT82C586B PIPC Bus Master IDE
+		1458 5002 GA-7VAX Mainboard
 	0576  VT82C576 3V [Apollo Master]
 	0585  VT82C585VP [Apollo VP1/VPX]
 	0586  VT82C586/A/B PCI-to-ISA [Apollo VP]

@@ -2735,6 +2737,7 @@
1462 3091 MS-6309 Onboard Audio
15dd 7609 Onboard Audio
3059 VT8233 AC97 Audio Controller
+ 1458 a002 GA-7VAX Onboard Audio (Realtek ALC650)
3065 VT6102 [Rhine-II]
1186 1400 DFE-530TX rev A
1186 1401 DFE-530TX rev B
@@ -2748,6 +2751,7 @@

 	3102  VT8662 Host Bridge
 	3103  VT8615 Host Bridge
 	3104  USB 2.0
+		1458 5004  GA-7VAX Mainboard
 	3109  VT8233C PCI to ISA Bridge
 	3112  VT8361 [KLE133] Host Bridge
 	3128  VT8753 [P4X266 AGP]
@@ -2756,6 +2760,9 @@
 	3148  P4M266 Host Bridge
 	3156  P/KN266 Host Bridge
 	3177  VT8233A ISA Bridge
+		1458 5001 GA-7VAX Mainboard
+	3189  VT8377 [KT400 AGP] Host Bridge
+		1458 5000 GA-7VAX Mainboard
 	5030  VT82C596 ACPI [Apollo PRO]
 	6100  VT85C100A [Rhine II]
 	8231  VT8231 [PCI-to-ISA Bridge]
@@ -2776,6 +2783,7 @@
 	b102  VT8362 AGP Bridge
 	b103  VT8615 AGP Bridge
 	b112  VT8361 [KLE133] AGP Bridge
+	b168  VT8235 PCI Bridge

1107 Stratus Computers
0576 VIA VT82C570MV [Apollo] (Wrong vendor ID!)
1108 Proteon, Inc.

Signature · 1 line
Nicolas Mailhot <[email protected]>