PCI: pci-stub: add pci_stub.ids parameter
authorTejun Heo <tj@kernel.org>
Thu, 3 Sep 2009 06:27:27 +0000 (15:27 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 9 Sep 2009 20:44:34 +0000 (13:44 -0700)
commitb439b1d4e3ae3c36ed94ed233119ff0d145af257
tree073a9a0acdeb203bd7735a0a91c2b5f397f74852
parent9dba910e9de2c4aa15ec1286f10052c107ef48ca
PCI: pci-stub: add pci_stub.ids parameter

Add ids module parameter which allows specifying initial IDs for the
pci-stub driver.  When built into the kernel, pci-stub is linked
before any real pci drivers and by setting up IDs from initialization
it can prevent built-in drivers from attaching to specific devices.

While at it, make pci_stub_probe() print out about devices it grabbed
to weed out "but my controller isn't being probed" bug reports.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-stub.c