diff options
author | Yu Zhao <yu.zhao@intel.com> | 2008-10-14 14:02:53 +0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-20 10:54:32 -0700 |
commit | 58c3a727cb73b75a9104d295f096cca12959a5a5 (patch) | |
tree | 70f1fe31f1ec12021777b6c6c49167356a864749 /drivers/pci/probe.c | |
parent | 201de56eb22f1ff3f36804bc70cbff220b50f067 (diff) | |
download | kernel_samsung_espresso10-58c3a727cb73b75a9104d295f096cca12959a5a5.zip kernel_samsung_espresso10-58c3a727cb73b75a9104d295f096cca12959a5a5.tar.gz kernel_samsung_espresso10-58c3a727cb73b75a9104d295f096cca12959a5a5.tar.bz2 |
PCI: support PCIe ARI capability
This patch adds support for PCI Express Alternative Routing-ID
Interpretation (ARI) capability.
The ARI capability extends the Function Number field of the PCI Express
Endpoint by reusing the Device Number which is otherwise hardwired to 0.
With ARI, an Endpoint can have up to 256 functions.
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 8c158b9..3141e8d 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -1025,6 +1025,9 @@ static void pci_init_capabilities(struct pci_dev *dev) /* Vital Product Data */ pci_vpd_pci22_init(dev); + + /* Alternative Routing-ID Forwarding */ + pci_enable_ari(dev); } void pci_device_add(struct pci_dev *dev, struct pci_bus *bus) |