commit eae511c0a4679653bfe9c9be5cd237ff6a75bfbe Author: Matthieu Herrb Date: Fri Mar 13 21:19:16 2009 +0100 Fix direct access to IO space on chipsets with no IOBase mapping. diff --git a/src/smilynx_output.c b/src/smilynx_output.c index fefa8c5..6c08003 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->IOBase, 0x3C2) & 0x10; /* Restore previous state */ VGAOUT8_INDEX(pSmi, VGA_SEQ_INDEX, VGA_SEQ_DATA, 0x21, mode->SR21);