aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/vsc8211.c
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2008-10-08 20:38:01 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-08 20:38:01 -0400
commit78e4689e908adc8334272756c32c9218d1967408 (patch)
tree7fdc979df5345b3b45ab2d5c46467ad3415800c1 /drivers/net/cxgb3/vsc8211.c
parent8c26376112fb4b8dfea42069b602c03d53366052 (diff)
cxgb3: allow for PHY reset status
First step towards overall PHY layering re-organization. Allow a status return when a PHY is reset. Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/vsc8211.c')
-rw-r--r--drivers/net/cxgb3/vsc8211.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/cxgb3/vsc8211.c b/drivers/net/cxgb3/vsc8211.c
index eee4285b31be..8f1b0d3a27ed 100644
--- a/drivers/net/cxgb3/vsc8211.c
+++ b/drivers/net/cxgb3/vsc8211.c
@@ -221,8 +221,9 @@ static struct cphy_ops vsc8211_ops = {
221 .power_down = vsc8211_power_down, 221 .power_down = vsc8211_power_down,
222}; 222};
223 223
224void t3_vsc8211_phy_prep(struct cphy *phy, struct adapter *adapter, 224int t3_vsc8211_phy_prep(struct cphy *phy, struct adapter *adapter,
225 int phy_addr, const struct mdio_ops *mdio_ops) 225 int phy_addr, const struct mdio_ops *mdio_ops)
226{ 226{
227 cphy_init(phy, adapter, phy_addr, &vsc8211_ops, mdio_ops); 227 cphy_init(phy, adapter, phy_addr, &vsc8211_ops, mdio_ops);
228 return 0;
228} 229}