lkml.org 
[lkml]   [2001]   [Feb]   [25]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
 
Messages in this thread
Patch in this message
/
DateSun, 25 Feb 2001 13:57:44 +0100
From braun@itwm ...
SubjectSmall fix for via agpgart in 2.2.19pre13
Hello all,

the following fix from linux-2.4.2 is not yet in 2.2.19pre.
The agpgart module can not be properly unloaded and 
reloaded without it.
(see http://uwsg.indiana.edu/hypermail/linux/kernel/0101.2/1273.html
for details)

Martin Braun--- linux-2.2.19-pre13/drivers/char/agp/agpgart_be.c	Sat Feb 24 13:29:30 2001
+++ linux/drivers/char/agp/agpgart_be.c	Sun Feb 25 13:32:16 2001
@@ -1304,9 +1304,11 @@
 	aper_size_info_8 *previous_size;
 
 	previous_size = A_SIZE_8(agp_bridge.previous_size);
-	pci_write_config_dword(agp_bridge.dev, VIA_ATTBASE, 0);
 	pci_write_config_byte(agp_bridge.dev, VIA_APSIZE,
 			      previous_size->size_value);
+	/* Do not disable by writing 0 to VIA_ATTBASE, it screws things up
+	 * during reinitialization.
+	 */
 }
 
 static void via_tlbflush(agp_memory * mem)
\
 
 \ /
  Last update: 2005-03-22 13:17    [from the cache]
©2003-2008