|
@@ -86,7 +86,7 @@ Signed-off-by: David S. Miller <[email protected]>
|
|
|
static void sfp_fixup_rollball_cc(struct sfp *sfp)
|
|
static void sfp_fixup_rollball_cc(struct sfp *sfp)
|
|
|
{
|
|
{
|
|
|
sfp_fixup_rollball(sfp);
|
|
sfp_fixup_rollball(sfp);
|
|
|
-@@ -2323,7 +2321,7 @@ static int sfp_sm_mod_probe(struct sfp *
|
|
|
|
|
|
|
+@@ -2320,7 +2318,7 @@ static int sfp_sm_mod_probe(struct sfp *
|
|
|
mask |= SFP_F_RS1;
|
|
mask |= SFP_F_RS1;
|
|
|
|
|
|
|
|
sfp->module_t_start_up = T_START_UP;
|
|
sfp->module_t_start_up = T_START_UP;
|
|
@@ -95,7 +95,7 @@ Signed-off-by: David S. Miller <[email protected]>
|
|
|
|
|
|
|
|
sfp->state_ignore_mask = 0;
|
|
sfp->state_ignore_mask = 0;
|
|
|
|
|
|
|
|
-@@ -2559,10 +2557,9 @@ static void sfp_sm_main(struct sfp *sfp,
|
|
|
|
|
|
|
+@@ -2556,10 +2554,9 @@ static void sfp_sm_main(struct sfp *sfp,
|
|
|
|
|
|
|
|
/* We need to check the TX_FAULT state, which is not defined
|
|
/* We need to check the TX_FAULT state, which is not defined
|
|
|
* while TX_DISABLE is asserted. The earliest we want to do
|
|
* while TX_DISABLE is asserted. The earliest we want to do
|
|
@@ -108,7 +108,7 @@ Signed-off-by: David S. Miller <[email protected]>
|
|
|
break;
|
|
break;
|
|
|
|
|
|
|
|
case SFP_S_WAIT:
|
|
case SFP_S_WAIT:
|
|
|
-@@ -2576,8 +2573,8 @@ static void sfp_sm_main(struct sfp *sfp,
|
|
|
|
|
|
|
+@@ -2573,8 +2570,8 @@ static void sfp_sm_main(struct sfp *sfp,
|
|
|
* deasserting.
|
|
* deasserting.
|
|
|
*/
|
|
*/
|
|
|
timeout = sfp->module_t_start_up;
|
|
timeout = sfp->module_t_start_up;
|
|
@@ -119,7 +119,7 @@ Signed-off-by: David S. Miller <[email protected]>
|
|
|
else
|
|
else
|
|
|
timeout = 1;
|
|
timeout = 1;
|
|
|
|
|
|
|
|
-@@ -2620,7 +2617,11 @@ static void sfp_sm_main(struct sfp *sfp,
|
|
|
|
|
|
|
+@@ -2617,7 +2614,11 @@ static void sfp_sm_main(struct sfp *sfp,
|
|
|
ret = sfp_sm_probe_for_phy(sfp);
|
|
ret = sfp_sm_probe_for_phy(sfp);
|
|
|
if (ret == -ENODEV) {
|
|
if (ret == -ENODEV) {
|
|
|
if (--sfp->sm_phy_retries) {
|
|
if (--sfp->sm_phy_retries) {
|