[Openchrome-devel] Bug in ViaMMIODisable function

Bartosz Kosiorek gang65
Wed Mar 25 04:17:36 PDT 2009


Hi.
I found bug in ViaMMIODisable function in via_driver.c file.
This bug was introduced in 593 revision.

Here is details about this bug:

Index: via_driver.c
===================================================================
--- via_driver.c        (wersja 737)
+++ via_driver.c        (kopia robocza)
@@ -2258,10 +2258,10 @@
         case VIA_CX700:
         case VIA_P4M900:
         case VIA_VX800:
-            ViaSeqMask(VGAHWPTR(pScrn), 0x1A, 0x00, 0x08);
+            ViaSeqMask(hwp, 0x1A, 0x00, 0x08);
             break;
         default:
-            ViaSeqMask(VGAHWPTR(pScrn), 0x1A, 0x00, 0x60);
+            ViaSeqMask(hwp, 0x1A, 0x00, 0x60);
             break;
     }
 }

Best Regards
Bartosz Kosiorek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ViaMMIO.patch
Type: application/octet-stream
Size: 534 bytes
Desc: not available
Url : http://wiki.openchrome.org/pipermail/openchrome-devel/attachments/20090325/6c336494/ViaMMIO.obj



More information about the Openchrome-devel mailing list