freebsd-nq/sys/dev/pci
Ryan Stone 55d3ea1731 Add support for PCIe ARI
PCIe Alternate RID Interpretation (ARI) is an optional feature that
allows devices to have up to 256 different functions.  It is
implemented by always setting the PCI slot number to 0 and
re-purposing the 5 bits used to encode the slot number to instead
contain the function number.  Combined with the original 3 bits
allocated for the function number, this allows for 256 functions.

This is enabled by default, but it's expected to be a no-op on currently
supported hardware.  It's a prerequisite for supporting PCI SR-IOV, and
I want the ARI support to go in early to help shake out any bugs in it.
ARI can be disabled by setting the tunable hw.pci.enable_ari=0.

Reviewed by:	kib
MFC after:	2 months
Sponsored by:	Sandvine Inc.
2014-04-01 16:02:02 +00:00
..
eisa_pci.c - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
fixup_pci.c Use device_printf(). 2013-08-11 06:57:57 +00:00
hostb_pci.c Expand the set of APIs available for locating PCI capabilities: 2012-03-03 18:08:57 +00:00
ignore_pci.c
isa_pci.c Implement BUS_ADD_CHILD() for the isab(4) driver. It already calls 2011-12-14 12:34:02 +00:00
pci_if.m Add a method to get the PCI RID for a device. 2014-04-01 15:47:24 +00:00
pci_pci.c Add support for PCIe ARI 2014-04-01 16:02:02 +00:00
pci_private.h Add support for managing PCI bus numbers. As with BARs and PCI-PCI bridge 2014-02-12 04:30:37 +00:00
pci_subr.c Add support for managing PCI bus numbers. As with BARs and PCI-PCI bridge 2014-02-12 04:30:37 +00:00
pci_user.c Add support for displaying VPD for PCI devices via pciconf. 2014-01-20 20:56:09 +00:00
pci.c Add support for PCIe ARI 2014-04-01 16:02:02 +00:00
pcib_if.m Add support for PCIe ARI 2014-04-01 16:02:02 +00:00
pcib_private.h Add support for PCIe ARI 2014-04-01 16:02:02 +00:00
pcib_support.c Add support for PCIe ARI 2014-04-01 16:02:02 +00:00
pcireg.h Add support for PCIe ARI 2014-04-01 16:02:02 +00:00
pcivar.h Add a method to get the PCI RID for a device. 2014-04-01 15:47:24 +00:00
vga_pci.c Drop the 3rd clause from all 3 clause BSD licenses where I am the sole 2014-02-05 18:13:27 +00:00