diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2009-03-13 21:19:16 +0100 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2009-03-13 23:15:22 +0100 |
commit | 05480382c508bd27c1755405518ce9c339f0f80e (patch) | |
tree | fb31c2e1a04eec8a3a95a6467d411fef6a707e3b | |
parent | e62807140ede74e262ed70c846017dc3506b511e (diff) |
Fix direct access to IO space on chipsets with no IOBase mapping.
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
-rw-r--r-- | src/smilynx_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smilynx_output.c b/src/smilynx_output.c index fefa8c5..6f34c3f 100644 --- a/src/smilynx_output.c +++ b/src/smilynx_output.c @@ -220,7 +220,7 @@ SMILynx_OutputDetect_crt(xf86OutputPtr output) while (!(hwp->readST01(hwp) & 0x8)) ; while (hwp->readST01(hwp) & 0x8) ; - status = MMIO_IN8(pSmi->IOBase, 0x3C2) & 0x10; + status = VGAIN8(pSmi, 0x3C2) & 0x10; /* Restore previous state */ VGAOUT8_INDEX(pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x21, mode->SR21); |