diff options
author | Lucas Stach <[email protected]> | 2014-07-23 19:52:38 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2014-09-04 14:58:48 -0600 |
commit | 4f2ebe00597c44f7dc6f88a052a2981ddcf6a0b6 (patch) | |
tree | 2b1532fb6581a400bcf6e28a2a275cc169eccb44 /net/lapb/lapb_subr.c | |
parent | b14a3d1784a9252aa3bbe0bb9d14588be32f18a1 (diff) |
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 <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Pratyush Anand <[email protected]>
Acked-by: Mohit Kumar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions