PCI: support PCIe ARI capability
authorYu Zhao <yu.zhao@intel.com>
Tue, 14 Oct 2008 06:02:53 +0000 (14:02 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 17:54:32 +0000 (10:54 -0700)
commit58c3a727cb73b75a9104d295f096cca12959a5a5
tree70f1fe31f1ec12021777b6c6c49167356a864749
parent201de56eb22f1ff3f36804bc70cbff220b50f067
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>
drivers/pci/pci.c
drivers/pci/pci.h
drivers/pci/probe.c
include/linux/pci.h
include/linux/pci_regs.h