File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -534,9 +534,7 @@ mvebu_pci_bridge_emul_pcie_conf_read(struct pci_bridge_emul *bridge,
534
534
break ;
535
535
536
536
case PCI_EXP_DEVCTL :
537
- * value = mvebu_readl (port , PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL ) &
538
- ~(PCI_EXP_DEVCTL_URRE | PCI_EXP_DEVCTL_FERE |
539
- PCI_EXP_DEVCTL_NFERE | PCI_EXP_DEVCTL_CERE );
537
+ * value = mvebu_readl (port , PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL );
540
538
break ;
541
539
542
540
case PCI_EXP_LNKCAP :
@@ -647,13 +645,6 @@ mvebu_pci_bridge_emul_pcie_conf_write(struct pci_bridge_emul *bridge,
647
645
648
646
switch (reg ) {
649
647
case PCI_EXP_DEVCTL :
650
- /*
651
- * Armada370 data says these bits must always
652
- * be zero when in root complex mode.
653
- */
654
- new &= ~(PCI_EXP_DEVCTL_URRE | PCI_EXP_DEVCTL_FERE |
655
- PCI_EXP_DEVCTL_NFERE | PCI_EXP_DEVCTL_CERE );
656
-
657
648
mvebu_writel (port , new , PCIE_CAP_PCIEXP + PCI_EXP_DEVCTL );
658
649
break ;
659
650
You can’t perform that action at this time.
0 commit comments