[PATCH 3/9] vgahw: Move IO domain setup to IO dispatch vector setup
Adam Jackson
ajax at redhat.com
Tue Sep 21 16:28:33 PDT 2010
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 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
More information about the xorg-devel
mailing list