]> git.ipfire.org Git - people/ms/u-boot.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)
committerSimon Glass <sjg@chromium.org>
Thu, 4 Jun 2015 09:34:47 +0000 (03:34 -0600)
commit2bb02e4fe22da5d982867c26e369730ea901f999
tree7ce0e1b0e588d1bc0ce31be2b863baede678d89f
parent8939df092e24abdf39edb6fbca90fe9c2b44c3b1
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