PCI: enhance pci_ari_enabled()
authorYu Zhao <yu.zhao@intel.com>
Fri, 21 Nov 2008 18:38:21 +0000 (02:38 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 7 Jan 2009 19:12:59 +0000 (11:12 -0800)
commit6a49d8120021897e139641062236215aac5d220e
tree894221dce19f76f3232c1f7b9801d1786aabeaf9
parent999da9fd489cd9774a89122940190376e19b21ce
PCI: enhance pci_ari_enabled()

Change parameter of pci_ari_enabled() from 'pci_dev' to 'pci_bus'.

ARI forwarding on the bridge mostly concerns the subordinate devices
rather than the bridge itself. So this change will make the function
easier to use.

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