[PATCH 03/11] xfree86: bus: move IOADDRESS definition to a common header file

Mark Kettenis mark.kettenis at xs4all.nl
Fri May 21 07:55:23 PDT 2010


> From: Tiago Vignatti <tiago.vignatti at nokia.com>
> Date: Fri, 21 May 2010 14:43:16 +0300
> 
> IOADDRESS type definition encompass more than just pci code, so move it to
> common.
> 
> diff --git a/hw/xfree86/os-support/bus/xf86Pci.h b/hw/xfree86/os-support/bus/xf86Pci.h
> index ce1336b..a9a2779 100644
> --- a/hw/xfree86/os-support/bus/xf86Pci.h
> +++ b/hw/xfree86/os-support/bus/xf86Pci.h
> @@ -235,7 +235,6 @@
>  
>  /* Primitive Types */
>  typedef unsigned long ADDRESS;		/* Memory/PCI address */
> -typedef unsigned long IOADDRESS;	/* Must be large enough for a pointer */
>  typedef unsigned long PCITAG;

Moving IOADDRESS over, but leaving the other ibviously related ones
behind, seems a bad idea to me.


More information about the xorg-devel mailing list