[PATCH 03/16] vgahw: Move IO domain setup to IO dispatch vector setup

Matt Turner mattst88 at gmail.com
Fri Sep 16 10:50:09 PDT 2011


From: Adam Jackson <ajax at redhat.com>

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 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 2ecea1c..f23b799 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.3.4



More information about the xorg-devel mailing list