[PATCH 3/9] vgahw: Move IO domain setup to IO dispatch vector setup

Alan Coopersmith alan.coopersmith at oracle.com
Tue Sep 21 16:42:44 PDT 2010


Adam Jackson wrote:
> 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;
>  }

Is there some reason you didn't update the hwp->PIOOffset = 0; that's
a few lines earlier instead?

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list