Message ID | 1401496601-31983-3-git-send-email-Liviu.Dudau@arm.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/of/address.c b/drivers/of/address.c index 2fcfbae..877e9e5 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c @@ -123,6 +123,9 @@ static unsigned int of_bus_pci_get_flags(const __be32 *addr) u32 w = be32_to_cpup(addr); switch((w >> 24) & 0x03) { + case 0x00: /* cfg space */ + flags |= IORESOURCE_MEM | IORESOURCE_PCI_ECFG; + break; case 0x01: flags |= IORESOURCE_IO; break;