aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/prom_parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/prom_parse.c b/arch/powerpc/kernel/prom_parse.c
index 346fb7bf9a05..0dfbe1cd28eb 100644
--- a/arch/powerpc/kernel/prom_parse.c
+++ b/arch/powerpc/kernel/prom_parse.c
@@ -160,9 +160,11 @@ static unsigned int of_bus_pci_get_flags(const u32 *addr)
160 switch((w >> 24) & 0x03) { 160 switch((w >> 24) & 0x03) {
161 case 0x01: 161 case 0x01:
162 flags |= IORESOURCE_IO; 162 flags |= IORESOURCE_IO;
163 break;
163 case 0x02: /* 32 bits */ 164 case 0x02: /* 32 bits */
164 case 0x03: /* 64 bits */ 165 case 0x03: /* 64 bits */
165 flags |= IORESOURCE_MEM; 166 flags |= IORESOURCE_MEM;
167 break;
166 } 168 }
167 if (w & 0x40000000) 169 if (w & 0x40000000)
168 flags |= IORESOURCE_PREFETCH; 170 flags |= IORESOURCE_PREFETCH;