aboutsummaryrefslogtreecommitdiff
path: root/sys/mips/atheros/qca955x_pci.c
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/atheros/qca955x_pci.c
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/atheros/qca955x_pci.c')
-rw-r--r--sys/mips/atheros/qca955x_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/mips/atheros/qca955x_pci.c b/sys/mips/atheros/qca955x_pci.c
index b02517d3d3ae..e736942b0e84 100644
--- a/sys/mips/atheros/qca955x_pci.c
+++ b/sys/mips/atheros/qca955x_pci.c
@@ -589,6 +589,7 @@ static device_method_t qca955x_pci_methods[] = {
DEVMETHOD(pcib_read_config, qca955x_pci_read_config),
DEVMETHOD(pcib_write_config, qca955x_pci_write_config),
DEVMETHOD(pcib_route_interrupt, qca955x_pci_route_interrupt),
+ DEVMETHOD(pcib_request_feature, pcib_request_feature_allow),
DEVMETHOD_END
};