aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cxgb3')
-rw-r--r--drivers/net/cxgb3/t3_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/t3_hw.c b/drivers/net/cxgb3/t3_hw.c
index 505a1871d080..fc7db8a9ba89 100644
--- a/drivers/net/cxgb3/t3_hw.c
+++ b/drivers/net/cxgb3/t3_hw.c
@@ -3866,11 +3866,11 @@ int t3_prep_adapter(struct adapter *adapter, const struct adapter_info *ai,
3866 return -EINVAL; 3866 return -EINVAL;
3867 } 3867 }
3868 3868
3869 p->phy.mdio.dev = adapter->port[i];
3869 ret = pti->phy_prep(&p->phy, adapter, ai->phy_base_addr + j, 3870 ret = pti->phy_prep(&p->phy, adapter, ai->phy_base_addr + j,
3870 ai->mdio_ops); 3871 ai->mdio_ops);
3871 if (ret) 3872 if (ret)
3872 return ret; 3873 return ret;
3873 p->phy.mdio.dev = adapter->port[i];
3874 mac_prep(&p->mac, adapter, j); 3874 mac_prep(&p->mac, adapter, j);
3875 3875
3876 /* 3876 /*