Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1574655
 поиск   регистрация   авторизация 
 
Группа :: Система/Ядро и оборудование
Пакет: fglrx_glx

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: fglrx-3.2.8-via-agp2.patch


--- kernel-source-fglrx-3.2.8/agpgart_be.c.via-agp2	2003-10-12 14:42:51 +0400
+++ kernel-source-fglrx-3.2.8/agpgart_be.c	2003-10-12 16:49:11 +0400
@@ -7000,7 +7000,7 @@
                 if( reg & (1<<1) )
                 {
                     printk(KERN_INFO PFX "Detected a Via Apollo KT400 chipset in AGP v2 mode. (VIA flag)\n");
-            	    return via_generic_setup(dev); /* the bit was set - pass on to VIA generic setup */
+            	    break; /* the bit was set - pass on to VIA generic setup */
                 }
                 /* note: the agp v3 subsystem bit is most likely set now,
                    that is supposed to be VIA_AGPSEL bit 2, as seen in running systems */
@@ -7051,7 +7051,7 @@
                 if( reg & (1<<1) )
                 {
                     printk(KERN_INFO PFX "Detected a Via P4X333 chipset in AGP v2 mode. (VIA flag)\n");
-            	    return via_generic_setup(dev); /* the bit was set - pass on to VIA generic setup */
+            	    break; /* the bit was set - pass on to VIA generic setup */
                 }
                 /* note: the agp v3 subsystem bit is most likely set now,
                    that is supposed to be VIA_AGPSEL bit 2, as seen in running systems */
 
design & coding: Vladimir Lettiev aka crux © 2004-2005