View Single Post
Old 12-07-03, 04:22 PM   #14
jsc1959
Registered User
 
Join Date: Nov 2003
Posts: 4
Default

Here is the kernel patches

agp patch

Code:
diff -ruN linux-2.6.0-test11.old/drivers/char/agp/amd64-agp.c linux-2.6.0-test11/drivers/char/agp/amd64-agp.c
--- linux-2.6.0-test11.old/drivers/char/agp/amd64-agp.c	2003-11-26 15:44:44.000000000 -0500
+++ linux-2.6.0-test11/drivers/char/agp/amd64-agp.c	2003-11-30 14:07:38.690330488 -0500
@@ -357,7 +357,7 @@
 		}
 		hammers[i++] = loop_dev;
 		nr_garts = i;
-		if (i == MAX_HAMMER_GARTS) { 
+		if (nr_garts > MAX_HAMMER_GARTS) { 
 			printk(KERN_INFO PFX "Too many northbridges for AGP\n");
 			return -1;
 		}
jsc1959 is offline   Reply With Quote