diff options
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 */ |