aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/rmi
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/mips/rmi
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/mips/rmi')
-rw-r--r--sys/mips/rmi/xlr_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/mips/rmi/xlr_pci.c b/sys/mips/rmi/xlr_pci.c
index 3d985039d559..8b3cfe9cd7fe 100644
--- a/sys/mips/rmi/xlr_pci.c
+++ b/sys/mips/rmi/xlr_pci.c
@@ -638,6 +638,7 @@ static device_method_t xlr_pcib_methods[] = {
DEVMETHOD(pcib_read_config, xlr_pcib_read_config),
DEVMETHOD(pcib_write_config, xlr_pcib_write_config),
DEVMETHOD(pcib_route_interrupt, mips_pci_route_interrupt),
+ DEVMETHOD(pcib_request_feature, pcib_request_feature_allow),
DEVMETHOD(pcib_alloc_msi, xlr_alloc_msi),
DEVMETHOD(pcib_release_msi, xlr_release_msi),