summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYannick Heneault <yheneaul@matrox.com>2009-04-21 10:00:24 -0400
committerYannick Heneault <yheneaul@matrox.com>2009-04-21 10:00:24 -0400
commit19c44d537e982fcf0fe2dc9f3273ac6166302510 (patch)
treee6398b3ebffcca7ff6626765b8fa2fcc47fb2cc4 /src
parent2388c4d512554258bce2b78c8f8aa1151b161c3e (diff)
Fixed bad vga access in memory count routine.
Diffstat (limited to 'src')
-rw-r--r--src/mga_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 7ed5c27..e929311 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -1346,7 +1346,7 @@ MGACountRam(ScrnInfoPtr pScrn)
base[Offset+0x100] = 0x55;
base[Offset+0x101] = 0xaa;
- OUTREG(MGAREG_CRTC_INDEX, 0);
+ OUTREG8(MGAREG_CRTC_INDEX, 0);
usleep(8);
TestMemoryLocA = base[Offset];