diff options
author | Divy Le Ray <divy@chelsio.com> | 2008-10-08 20:38:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-08 20:38:01 -0400 |
commit | 78e4689e908adc8334272756c32c9218d1967408 (patch) | |
tree | 7fdc979df5345b3b45ab2d5c46467ad3415800c1 /drivers/net/cxgb3/common.h | |
parent | 8c26376112fb4b8dfea42069b602c03d53366052 (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/common.h')
-rw-r--r-- | drivers/net/cxgb3/common.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h index ace6b58bae8e..78c10d3f0efa 100644 --- a/drivers/net/cxgb3/common.h +++ b/drivers/net/cxgb3/common.h | |||
@@ -203,8 +203,8 @@ struct adapter_info { | |||
203 | }; | 203 | }; |
204 | 204 | ||
205 | struct port_type_info { | 205 | struct port_type_info { |
206 | void (*phy_prep)(struct cphy *phy, struct adapter *adapter, | 206 | int (*phy_prep)(struct cphy *phy, struct adapter *adapter, |
207 | int phy_addr, const struct mdio_ops *ops); | 207 | int phy_addr, const struct mdio_ops *ops); |
208 | unsigned int caps; | 208 | unsigned int caps; |
209 | const char *desc; | 209 | const char *desc; |
210 | }; | 210 | }; |
@@ -776,14 +776,14 @@ int t3_sge_read_rspq(struct adapter *adapter, unsigned int id, u32 data[4]); | |||
776 | int t3_sge_cqcntxt_op(struct adapter *adapter, unsigned int id, unsigned int op, | 776 | int t3_sge_cqcntxt_op(struct adapter *adapter, unsigned int id, unsigned int op, |
777 | unsigned int credits); | 777 | unsigned int credits); |
778 | 778 | ||
779 | void t3_vsc8211_phy_prep(struct cphy *phy, struct adapter *adapter, | 779 | int t3_vsc8211_phy_prep(struct cphy *phy, struct adapter *adapter, |
780 | int phy_addr, const struct mdio_ops *mdio_ops); | 780 | int phy_addr, const struct mdio_ops *mdio_ops); |
781 | void t3_ael1002_phy_prep(struct cphy *phy, struct adapter *adapter, | 781 | int t3_ael1002_phy_prep(struct cphy *phy, struct adapter *adapter, |
782 | int phy_addr, const struct mdio_ops *mdio_ops); | 782 | int phy_addr, const struct mdio_ops *mdio_ops); |
783 | void t3_ael1006_phy_prep(struct cphy *phy, struct adapter *adapter, | 783 | int t3_ael1006_phy_prep(struct cphy *phy, struct adapter *adapter, |
784 | int phy_addr, const struct mdio_ops *mdio_ops); | 784 | int phy_addr, const struct mdio_ops *mdio_ops); |
785 | void t3_qt2045_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, | 785 | int t3_qt2045_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, |
786 | const struct mdio_ops *mdio_ops); | 786 | const struct mdio_ops *mdio_ops); |
787 | void t3_xaui_direct_phy_prep(struct cphy *phy, struct adapter *adapter, | 787 | int t3_xaui_direct_phy_prep(struct cphy *phy, struct adapter *adapter, |
788 | int phy_addr, const struct mdio_ops *mdio_ops); | 788 | int phy_addr, const struct mdio_ops *mdio_ops); |
789 | #endif /* __CHELSIO_COMMON_H */ | 789 | #endif /* __CHELSIO_COMMON_H */ |