View Single Post
Old 09-24-03, 11:26 PM   #6
ByteEnable
Registered User
 
Join Date: Jun 2003
Posts: 24
Default

I had the same problem. AGPGART was disabled in the kernel. My Pro266T chipset PCI ID was not present in the pci_ids file and was not being used in the drivers/char/agp/agpgart_be.c. So no kernel AGP support. So I patched two files to add support. I got the PCI ID from /sbin/lspci -n

Here are the patches I did:

--- linux-2.4.22/drivers/char/agp/agp.h 2003-08-25 06:44:41.000000000 -0500
+++ linux/drivers/char/agp_new/agp.h 2003-09-24 13:21:24.000000000 -0500
@@ -172,6 +172,9 @@
#ifndef PCI_DEVICE_ID_VIA_82C694X_0
#define PCI_DEVICE_ID_VIA_82C694X_0 0x0605
#endif
+#ifndef PCI_DEVICE_ID_VIA_8633T_0
+#define PCI_DEVICE_ID_VIA_8633T_0 0x3101
+#endif
#ifndef PCI_DEVICE_ID_INTEL_810_0
#define PCI_DEVICE_ID_INTEL_810_0 0x7120
#endif---

linux-2.4.22/drivers/char/agp/agpgart_be.c 2003-08-25 06:44:41.000000000 -0500
+++ linux/drivers/char/agp_new/agpgart_be.c 2003-09-24 13:33:19.000000000 -0500
@@ -5123,6 +5123,12 @@
"Via",
"Apollo Pro KT400",
via_generic_setup },
+ { PCI_DEVICE_ID_VIA_8633T_0,
+ PCI_VENDOR_ID_VIA,
+ VIA_APOLLO_PRO266T,
+ "Via",
+ "Apollo Pro266T",
+ via_generic_setup },
{ PCI_DEVICE_ID_VIA_P4M266,
PCI_VENDOR_ID_VIA,
VIA_APOLLO_P4M266,
ByteEnable is offline   Reply With Quote