freebsd-dev/sys/dev/pci
Ryan Stone 1c229658b9 Fix SR-IOV passthrough devices to allow ppt to attach
A late change to the SR-IOV infrastructure broke passthrough of
VFs.  device_set_devclass() was being used to try to force the
ppt driver to attach to the device, but this didn't work because
the DF_FIXEDCLASS flag wasn't being set on the device, so the
ppt driver probe routine would not match when it returned
BUS_NOWILDCARD.  Fix this by adding a new device function that
both sets the devclass and sets the DF_FIXEDCLASS flag, and use
that to force the ppt driver to attach to VFs.

Differential Revision: https://reviews.freebsd.org/D2041
Reviewed by:	jhb
MFC after:	3 weeks
2015-03-10 23:27:13 +00:00
..
eisa_pci.c
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
pci_if.m Pass SR-IOV configuration to kernel using an nvlist 2015-03-01 00:40:57 +00:00
pci_iov_private.h Add infrastructure for exporting config schema from PF drivers 2015-03-01 00:40:42 +00:00
pci_iov_schema.c Validate the schema that the PF driver passed to us 2015-03-01 00:59:28 +00:00
pci_iov.c Fix SR-IOV passthrough devices to allow ppt to attach 2015-03-10 23:27:13 +00:00
pci_pci.c Add some pcib methods to get ARI-related information 2015-03-01 00:39:40 +00:00
pci_private.h Add infrastructure for exporting config schema from PF drivers 2015-03-01 00:40:42 +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 Emulate the Device ID and Vendor ID registers for VFs 2015-03-01 00:40:19 +00:00
pci.c Don't leak 'used' in a few error cases. 2015-03-01 21:41:35 +00:00
pcib_if.m Add some pcib methods to get ARI-related information 2015-03-01 00:39:40 +00:00
pcib_private.h Add some pcib methods to get ARI-related information 2015-03-01 00:39:40 +00:00
pcib_support.c Add some pcib methods to get ARI-related information 2015-03-01 00:39:40 +00:00
pcireg.h Implement interface to create SR-IOV Virtual Functions 2015-03-01 00:40:09 +00:00
pcivar.h vgapci: New vga_pci_repost() function 2015-03-01 12:47:36 +00:00
schema_private.h Validate the schema that the PF driver passed to us 2015-03-01 00:59:28 +00:00
vga_pci.c Record the dependency to x86bios in vga_pci 2015-03-01 20:54:29 +00:00