aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv/pcib
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-02-25 06:11:59 +0000
committerWarner Losh <imp@FreeBSD.org>2017-02-25 06:11:59 +0000
commit28586889c23b86d81983c35c5754f55f0f4b877d (patch)
tree48b0904786141ce064bfe59fa128c875b7561884 /sys/dev/hyperv/pcib
parent8a1926c5c1691c2d1ff5a31b3843aa2e50588016 (diff)
downloadsrc-28586889c23b86d81983c35c5754f55f0f4b877d.tar.gz
src-28586889c23b86d81983c35c5754f55f0f4b877d.zip
Convert PCIe Hot Plug to using pci_request_feature
Convert PCIe hot plug support over to asking the firmware, if any, for permission to use the HotPlug hardware. Implement pci_request_feature for ACPI. All other host pci connections to allowing all valid feature requests. Sponsored by: Netflix
Notes
Notes: svn path=/head/; revision=314250
Diffstat (limited to 'sys/dev/hyperv/pcib')
-rw-r--r--sys/dev/hyperv/pcib/vmbus_pcib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/hyperv/pcib/vmbus_pcib.c b/sys/dev/hyperv/pcib/vmbus_pcib.c
index 0e8170848a31..08de4abaa440 100644
--- a/sys/dev/hyperv/pcib/vmbus_pcib.c
+++ b/sys/dev/hyperv/pcib/vmbus_pcib.c
@@ -1780,6 +1780,7 @@ static device_method_t vmbus_pcib_methods[] = {
DEVMETHOD(pcib_alloc_msix, vmbus_pcib_alloc_msix),
DEVMETHOD(pcib_release_msix, vmbus_pcib_release_msix),
DEVMETHOD(pcib_map_msi, vmbus_pcib_map_msi),
+ DEVMETHOD(pcib_request_feature, pcib_request_feature_allow),
DEVMETHOD_END
};