From: Lucas Stach Date: Wed, 23 Jul 2014 17:52:38 +0000 (+0200) Subject: PCI: designware: Parse bus-range property from devicetree X-Git-Tag: omap-for-v3.19/prcm-cleanup~136^2~14^4~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f2ebe00597c44f7dc6f88a052a2981ddcf6a0b6;p=pandora-kernel.git PCI: designware: Parse bus-range property from devicetree This allows to explicitly specify the covered bus numbers in the devicetree, which will come in handy once we see a SoC with more than one PCIe host controller instance. Previously the driver relied on the behavior of pci_scan_root_bus() to fill in a range of 0x00-0xff if no valid range was found. We fall back to the same range if no valid DT entry was found to keep backwards compatibility, but now do it explicitly. [bhelgaas: use %pR in error message to avoid duplication] Signed-off-by: Lucas Stach Signed-off-by: Bjorn Helgaas Reviewed-by: Pratyush Anand Acked-by: Mohit Kumar --- Reading git-diff-tree failed