aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-5.4/743-net-sfp-add-module-start-stop-upstream-notifications.patch
diff options
context:
space:
mode:
authorVladimir Markovets <abam_a@yahoo.com>2021-07-22 00:09:22 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-01-08 21:31:15 +0100
commit6ced8cad8edd2a04fc6bb914c333c8aac9a1c825 (patch)
tree8e8a124d6d2f8043a5fa5870699538d7d8411da2 /target/linux/generic/pending-5.4/743-net-sfp-add-module-start-stop-upstream-notifications.patch
parent77ee281a3ef44eb8b3c38a8db932737725c233fa (diff)
downloadupstream-6ced8cad8edd2a04fc6bb914c333c8aac9a1c825.tar.gz
upstream-6ced8cad8edd2a04fc6bb914c333c8aac9a1c825.tar.bz2
upstream-6ced8cad8edd2a04fc6bb914c333c8aac9a1c825.zip
kernel: backport workaround for Realtek RTL8672 and RTL9601C chips
Adds support for GPON SFP modules based on the Realtek RTL8672 and RTL9601C chips, including but not limited to: * V-SOL V2801F * C-Data FD511GX-RM0 * OPTON GP801R * BAUDCOM BD-1234-SFM * CPGOS03-0490 v2.0 * Ubiquiti U-Fiber Instant * EXOT EGS1 Signed-off-by: Vladimir Markovets <abam_a@yahoo.com> (cherry picked from commit f032601ed7d70fe1f468219b68750230b6ea1906)
Diffstat (limited to 'target/linux/generic/pending-5.4/743-net-sfp-add-module-start-stop-upstream-notifications.patch')
-rw-r--r--target/linux/generic/pending-5.4/743-net-sfp-add-module-start-stop-upstream-notifications.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/pending-5.4/743-net-sfp-add-module-start-stop-upstream-notifications.patch b/target/linux/generic/pending-5.4/743-net-sfp-add-module-start-stop-upstream-notifications.patch
index 44de1b2a32..3dc8f60020 100644
--- a/target/linux/generic/pending-5.4/743-net-sfp-add-module-start-stop-upstream-notifications.patch
+++ b/target/linux/generic/pending-5.4/743-net-sfp-add-module-start-stop-upstream-notifications.patch
@@ -78,7 +78,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
[SFP_S_WAIT] = "wait",
[SFP_S_INIT] = "init",
[SFP_S_INIT_TX_FAULT] = "init_tx_fault",
-@@ -1831,6 +1833,8 @@ static void sfp_sm_main(struct sfp *sfp,
+@@ -1918,6 +1920,8 @@ static void sfp_sm_main(struct sfp *sfp,
if (sfp->sm_state == SFP_S_LINK_UP &&
sfp->sm_dev_state == SFP_DEV_UP)
sfp_sm_link_down(sfp);
@@ -87,7 +87,7 @@ Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
if (sfp->mod_phy)
sfp_sm_phy_detach(sfp);
sfp_module_tx_disable(sfp);
-@@ -1898,6 +1902,10 @@ static void sfp_sm_main(struct sfp *sfp,
+@@ -1985,6 +1989,10 @@ static void sfp_sm_main(struct sfp *sfp,
* clear. Probe for the PHY and check the LOS state.
*/
sfp_sm_probe_for_phy(sfp);