Signed-off-by: Adam Jackson <[email protected]>
---
hw/xfree86/vgahw/vgaHW.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/hw/xfree86/vgahw/vgaHW.c b/hw/xfree86/vgahw/vgaHW.c
index 7f0ad28..ef17f4a 100644
--- a/hw/xfree86/vgahw/vgaHW.c
+++ b/hw/xfree86/vgahw/vgaHW.c
@@ -356,6 +356,8 @@ vgaHWSetStdFuncs(vgaHWPtr hwp)
hwp->PIOOffset = 0;
hwp->readEnable = stdReadEnable;
hwp->writeEnable = stdWriteEnable;
+
+ hwp->PIOOffset = scrp->domainIOBase;
}
/*
@@ -1709,7 +1711,6 @@ vgaHWGetHWRec(ScrnInfoPtr scrp)
/* Initialise the function pointers with the standard VGA versions */
vgaHWSetStdFuncs(hwp);
- hwp->PIOOffset = scrp->domainIOBase;
hwp->dev = xf86GetPciInfoForEntity(scrp->entityList[0]);
return TRUE;
--
1.7.2.2
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel