PCI: enhance physical slot debug information
commit62795041418dd63cd9ff6ff7bbdf1d1c513c189b
authorAlex Chiang <achiang@hp.com>
Wed, 4 Feb 2009 18:25:22 +0000 (4 11:25 -0700)
committerJesse Barnes <jbarnes@hobbes.lan>
Fri, 20 Mar 2009 02:29:30 +0000 (19 19:29 -0700)
tree34f5493e7b459fa19551b60773656c74dc383024
parent6a82e21823058eea95325005b79f3b8c9492460f
PCI: enhance physical slot debug information

Convert usages of pr_debug to dev_dbg and add physical slot name.

Note that we use dev_dbg on the struct pci_bus and still manually
print out the PCI slot number (instead of calling dev_dbg on a
pci_dev) because a struct pci_bus with empty physical slots will
not have any pci_devs.

Reviewed-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/slot.c