Commit 037b839c authored by Adam Jackson's avatar Adam Jackson 🎧
Browse files

Adapt to missing PIOOffset in videoabi 12


Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
parent 087226bf
......@@ -442,7 +442,11 @@ SMI_PreInit(ScrnInfoPtr pScrn, int flags)
LEAVE(FALSE);
hwp = VGAHWPTR(pScrn);
#if ABI_VIDEODRV_VERSION < 12
pSmi->PIOBase = hwp->PIOOffset;
#else
pSmi->PIOBase = 0;
#endif
xf86ErrorFVerb(VERBLEV, "\tSMI_PreInit vgaCRIndex=%x, vgaIOBase=%x, "
"MMIOBase=%p\n", hwp->IOBase + VGA_CRTC_INDEX_OFFSET,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment