]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: pci: Allow PCI bus numbering aliases
authorSimon Glass <sjg@chromium.org>
Mon, 11 May 2015 03:08:06 +0000 (21:08 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:48:17 +0000 (22:48 +0200)
commit3b13df8ba8997ba1355316b5ee04e456e0678cd9
treed9a933b5e3e6a002747bee6f7e7857194a123b1c
parent6564a260c78a76a6793261c17c8b9551d73d816a
dm: pci: Allow PCI bus numbering aliases

Commit 9cc36a2 'dm: core: Add a flag to control sequence numbering' changed
the default uclass behaviour to not support bus numbering. This is incorrect
for PCI and that commit should have enabled the flag for PCI.

Enable it so that PCI buses can be found and the 'pci' command works again.
Also add a test for this.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/pci/pci-uclass.c
test/dm/pci.c