diff options
author | Yannick Heneault <yheneaul@matrox.com> | 2009-04-21 10:00:24 -0400 |
---|---|---|
committer | Yannick Heneault <yheneaul@matrox.com> | 2009-04-21 10:00:24 -0400 |
commit | 19c44d537e982fcf0fe2dc9f3273ac6166302510 (patch) | |
tree | e6398b3ebffcca7ff6626765b8fa2fcc47fb2cc4 /src | |
parent | 2388c4d512554258bce2b78c8f8aa1151b161c3e (diff) |
Fixed bad vga access in memory count routine.
Diffstat (limited to 'src')
-rw-r--r-- | src/mga_driver.c | 2 |
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]; |