]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: allow pci_alloc_child_bus() to handle a NULL bridge
authorYu Zhao <yu.zhao@intel.com>
Fri, 21 Nov 2008 18:41:07 +0000 (02:41 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:13:03 +0000 (11:13 -0800)
commit437a756a6cf18c51029fdd61b4123b92c49ac727
tree1bed5285a1188bf2455554118616403a8f929637
parentf179bc5027e529fd35ac2a3fe4e044b7dec6dedb
PCI: allow pci_alloc_child_bus() to handle a NULL bridge

Allow pci_alloc_child_bus() to allocate buses without bridge devices.
Some SR-IOV devices can occupy more than one bus number, but there is no
explicit bridges because that have internal routing mechanism.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/probe.c