diff options
author | Divy Le Ray <divy@chelsio.com> | 2008-10-09 00:38:01 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 00:38:01 (GMT) |
commit | 78e4689e908adc8334272756c32c9218d1967408 (patch) | |
tree | 7fdc979df5345b3b45ab2d5c46467ad3415800c1 /drivers/net/cxgb3/vsc8211.c | |
parent | 8c26376112fb4b8dfea42069b602c03d53366052 (diff) | |
download | linux-78e4689e908adc8334272756c32c9218d1967408.tar.xz |
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.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/cxgb3/vsc8211.c b/drivers/net/cxgb3/vsc8211.c index eee4285..8f1b0d3 100644 --- a/drivers/net/cxgb3/vsc8211.c +++ b/drivers/net/cxgb3/vsc8211.c @@ -221,8 +221,9 @@ static struct cphy_ops vsc8211_ops = { .power_down = vsc8211_power_down, }; -void t3_vsc8211_phy_prep(struct cphy *phy, struct adapter *adapter, - int phy_addr, const struct mdio_ops *mdio_ops) +int t3_vsc8211_phy_prep(struct cphy *phy, struct adapter *adapter, + int phy_addr, const struct mdio_ops *mdio_ops) { cphy_init(phy, adapter, phy_addr, &vsc8211_ops, mdio_ops); + return 0; } |