ath79: add support for Dell SonicPoint ACe APL26-0AE
[openwrt/openwrt.git] / target / linux / generic / backport-5.15 / 346-v5.18-01-Revert-ata-ahci-mvebu-Make-SATA-PHY-optional-for-Arm.patch
index b254e7c0b3fbcba0c506fa536a0e7c411919222f..35bc19c1ef5d6c7a351f5e1e0283d9ce7e4a3c71 100644 (file)
@@ -32,14 +32,14 @@ Signed-off-by: Vinod Koul <vkoul@kernel.org>
 --- a/drivers/ata/ahci.h
 +++ b/drivers/ata/ahci.h
 @@ -240,8 +240,6 @@ enum {
-                                                       as default lpm_policy */
-       AHCI_HFLAG_SUSPEND_PHYS         = (1 << 26), /* handle PHYs during
-                                                       suspend/resume */
--      AHCI_HFLAG_IGN_NOTSUPP_POWER_ON = (1 << 27), /* ignore -EOPNOTSUPP
--                                                      from phy_power_on() */
-       AHCI_HFLAG_NO_SXS               = (1 << 28), /* SXS not supported */
+                                                     as default lpm_policy */
+       AHCI_HFLAG_SUSPEND_PHYS         = BIT(26), /* handle PHYs during
+                                                     suspend/resume */
+-      AHCI_HFLAG_IGN_NOTSUPP_POWER_ON = BIT(27), /* ignore -EOPNOTSUPP
+-                                                    from phy_power_on() */
+       AHCI_HFLAG_NO_SXS               = BIT(28), /* SXS not supported */
+       AHCI_HFLAG_43BIT_ONLY           = BIT(29), /* 43bit DMA addr limit */
  
-       /* ap->flags bits */
 --- a/drivers/ata/ahci_mvebu.c
 +++ b/drivers/ata/ahci_mvebu.c
 @@ -227,7 +227,7 @@ static const struct ahci_mvebu_plat_data