aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/cavium
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/cavium
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/cavium')
-rw-r--r--sys/mips/cavium/octopci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/mips/cavium/octopci.c b/sys/mips/cavium/octopci.c
index 48ef7e150f5a..8ab21bc47731 100644
--- a/sys/mips/cavium/octopci.c
+++ b/sys/mips/cavium/octopci.c
@@ -978,6 +978,7 @@ static device_method_t octopci_methods[] = {
DEVMETHOD(pcib_read_config, octopci_read_config),
DEVMETHOD(pcib_write_config, octopci_write_config),
DEVMETHOD(pcib_route_interrupt, octopci_route_interrupt),
+ DEVMETHOD(pcib_request_feature, pcib_request_feature_allow),
DEVMETHOD_END
};