|
@@ -26,7 +26,7 @@ Signed-off-by: Daniel Golle <[email protected]>
|
|
|
|
|
|
--- a/drivers/net/phy/sfp.c
|
|
|
+++ b/drivers/net/phy/sfp.c
|
|
|
-@@ -404,6 +404,9 @@ static const struct sfp_quirk sfp_quirks
|
|
|
+@@ -409,6 +409,9 @@ static const struct sfp_quirk sfp_quirks
|
|
|
SFP_QUIRK("HUAWEI", "MA5671A", sfp_quirk_2500basex,
|
|
|
sfp_fixup_ignore_tx_fault),
|
|
|
|
|
@@ -36,7 +36,7 @@ Signed-off-by: Daniel Golle <[email protected]>
|
|
|
// Lantech 8330-262D-E can operate at 2500base-X, but incorrectly report
|
|
|
// 2500MBd NRZ in their EEPROM
|
|
|
SFP_QUIRK_M("Lantech", "8330-262D-E", sfp_quirk_2500basex),
|
|
|
-@@ -2339,7 +2342,8 @@ static void sfp_sm_main(struct sfp *sfp,
|
|
|
+@@ -2344,7 +2347,8 @@ static void sfp_sm_main(struct sfp *sfp,
|
|
|
* or t_start_up, so assume there is a fault.
|
|
|
*/
|
|
|
sfp_sm_fault(sfp, SFP_S_INIT_TX_FAULT,
|
|
@@ -46,7 +46,7 @@ Signed-off-by: Daniel Golle <[email protected]>
|
|
|
} else if (event == SFP_E_TIMEOUT || event == SFP_E_TX_CLEAR) {
|
|
|
init_done:
|
|
|
/* Create mdiobus and start trying for PHY */
|
|
|
-@@ -2568,10 +2572,12 @@ static void sfp_check_state(struct sfp *
|
|
|
+@@ -2573,10 +2577,12 @@ static void sfp_check_state(struct sfp *
|
|
|
mutex_lock(&sfp->st_mutex);
|
|
|
state = sfp_get_state(sfp);
|
|
|
changed = state ^ sfp->state;
|