|
@@ -262,7 +262,7 @@ static int get_port_device_capability(struct pci_dev *dev)
|
|
|
return 0;
|
|
|
|
|
|
cap_mask = PCIE_PORT_SERVICE_PME | PCIE_PORT_SERVICE_HP
|
|
|
- | PCIE_PORT_SERVICE_VC;
|
|
|
+ | PCIE_PORT_SERVICE_VC | PCIE_PORT_SERVICE_DPC;
|
|
|
if (pci_aer_available())
|
|
|
cap_mask |= PCIE_PORT_SERVICE_AER;
|
|
|
|
|
@@ -311,6 +311,8 @@ static int get_port_device_capability(struct pci_dev *dev)
|
|
|
*/
|
|
|
pcie_pme_interrupt_enable(dev, false);
|
|
|
}
|
|
|
+ if (pci_find_ext_capability(dev, PCI_EXT_CAP_ID_DPC))
|
|
|
+ services |= PCIE_PORT_SERVICE_DPC;
|
|
|
|
|
|
return services;
|
|
|
}
|