On Sat, Mar 23, 2013 at 01:37:04PM +, Thomas Petazzoni wrote:
>
> On Sat, 23 Mar 2013 10:41:56 +, Russell King - ARM Linux wrote:
>
> > Please look at how IORESOURCE_* stuff is defined:
> > #define IORESOURCE_TYPE_BITS0x1f00 /* Resource type */
> > #define IORESOURCE_IO
On Sat, 23 Mar 2013 10:41:56 +, Russell King - ARM Linux wrote:
> Please look at how IORESOURCE_* stuff is defined:
> #define IORESOURCE_TYPE_BITS0x1f00 /* Resource type */
> #define IORESOURCE_IO 0x0100 /* PCI/ISA I/O ports */
> #define IORESOURCE_MEM
On Sat, Mar 23, 2013 at 01:04:53PM +0900, Jingoo Han wrote:
> - switch ((pci_space >> 24) & 0x3) {
> - case 1: /* PCI IO space */
> + if (iter.flags & IORESOURCE_IO) {
Please look at how IORESOURCE_* stuff is defined:
#define IORESOURCE_TYPE_BITS0x00
From: Andrew Murray
This patch factors out common implementations patterns to reduce overall kernel
code and provide a means for host bridge drivers to directly obtain struct
resources from the DT's ranges property without relying on architecture specific
DT handling. This will make it easier to