generic: 5.15: fix new AQR PHY patches
authorRobert Marko <robimarko@gmail.com>
Sat, 8 Jan 2022 13:39:54 +0000 (14:39 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 27 Mar 2022 01:17:24 +0000 (02:17 +0100)
After fixing the original 720 patch, it looks like more were added for
additional AQR ID-s.

Patches that add the additional AQR PHY ID-s is just copy/paste from 5.10
and kernel 5.11 dropped the ack_interrupt method for PHY IRQ handling,
instead handle_interrupt is used.

So, simply switch to using handle_interrupt like other upstream AQR PHY-s.

Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/generic/hack-5.15/722-net-phy-aquantia-enable-AQR112-and-AQR412.patch
target/linux/generic/hack-5.15/724-net-phy-aquantia-Add-AQR113-driver-support.patch
target/linux/generic/hack-5.15/725-net-phy-aquantia-add-PHY_IDs-for-AQR112-variants.patch

index e3541400d7e56bd8b4b3a43af04229b2dfdf0e2e..6ab7bc756992a639eb7f6d1d109f5c1fd1ba0a40 100644 (file)
@@ -119,7 +119,7 @@ Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
 +      .probe          = aqr107_probe,
 +      .config_aneg    = aqr_config_aneg_set_prot,
 +      .config_intr    = aqr_config_intr,
-+      .ack_interrupt  = aqr_ack_interrupt,
++      .handle_interrupt = aqr_handle_interrupt,
 +      .read_status    = aqr107_read_status,
 +      .get_sset_count = aqr107_get_sset_count,
 +      .get_strings    = aqr107_get_strings,
@@ -131,7 +131,7 @@ Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
 +      .probe          = aqr107_probe,
 +      .config_aneg    = aqr_config_aneg_set_prot,
 +      .config_intr    = aqr_config_intr,
-+      .ack_interrupt  = aqr_ack_interrupt,
++      .handle_interrupt = aqr_handle_interrupt,
 +      .read_status    = aqr107_read_status,
 +      .get_sset_count = aqr107_get_sset_count,
 +      .get_strings    = aqr107_get_strings,
index 7a661309f946572878e3663708dc0e8e21a2d692..1fc7658ff3b53e0f0e714b9862cd97ebd8762bdb 100644 (file)
@@ -26,7 +26,7 @@ Add a new entry for AQR113 PHY_ID
 +      .name           = "Aquantia AQR113",
 +      .config_aneg    = aqr_config_aneg,
 +      .config_intr    = aqr_config_intr,
-+      .ack_interrupt  = aqr_ack_interrupt,
++      .handle_interrupt = aqr_handle_interrupt,
 +      .read_status    = aqr107_read_status,
 +},
 +{
index 40ad0ff58310b9be94d7e2d642aeb3283714f5bc..ba9f3ee1203dcec133dbf2bb9e7447a5a65c2d66 100644 (file)
@@ -30,7 +30,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 +      .probe          = aqr107_probe,
 +      .config_aneg    = aqr_config_aneg_set_prot,
 +      .config_intr    = aqr_config_intr,
-+      .ack_interrupt  = aqr_ack_interrupt,
++      .handle_interrupt = aqr_handle_interrupt,
 +      .read_status    = aqr107_read_status,
 +      .get_sset_count = aqr107_get_sset_count,
 +      .get_strings    = aqr107_get_strings,
@@ -42,7 +42,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 +      .probe          = aqr107_probe,
 +      .config_aneg    = aqr_config_aneg_set_prot,
 +      .config_intr    = aqr_config_intr,
-+      .ack_interrupt  = aqr_ack_interrupt,
++      .handle_interrupt = aqr_handle_interrupt,
 +      .read_status    = aqr107_read_status,
 +      .get_sset_count = aqr107_get_sset_count,
 +      .get_strings    = aqr107_get_strings,