File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4709,17 +4709,21 @@ static int pci_quirk_xgene_acs(struct pci_dev *dev, u16 acs_flags)
4709
4709
* But the implementation could block peer-to-peer transactions between them
4710
4710
* and provide ACS-like functionality.
4711
4711
*/
4712
- static int pci_quirk_zhaoxin_pcie_ports_acs (struct pci_dev * dev , u16 acs_flags )
4712
+ static int pci_quirk_zhaoxin_pcie_ports_acs (struct pci_dev * dev , u16 acs_flags )
4713
4713
{
4714
4714
if (!pci_is_pcie (dev ) ||
4715
4715
((pci_pcie_type (dev ) != PCI_EXP_TYPE_ROOT_PORT ) &&
4716
4716
(pci_pcie_type (dev ) != PCI_EXP_TYPE_DOWNSTREAM )))
4717
4717
return - ENOTTY ;
4718
4718
4719
+ /*
4720
+ * Future Zhaoxin Root Ports and Switch Downstream Ports will
4721
+ * implement ACS capability in accordance with the PCIe Spec.
4722
+ */
4719
4723
switch (dev -> device ) {
4720
4724
case 0x0710 ... 0x071e :
4721
4725
case 0x0721 :
4722
- case 0x0723 ... 0x0732 :
4726
+ case 0x0723 ... 0x0752 :
4723
4727
return pci_acs_ctrl_enabled (acs_flags ,
4724
4728
PCI_ACS_SV | PCI_ACS_RR | PCI_ACS_CR | PCI_ACS_UF );
4725
4729
}
You can’t perform that action at this time.
0 commit comments