aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cxgb3/common.h')
-rw-r--r--drivers/net/cxgb3/common.h24
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
205struct port_type_info { 205struct 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]);
776int t3_sge_cqcntxt_op(struct adapter *adapter, unsigned int id, unsigned int op, 776int t3_sge_cqcntxt_op(struct adapter *adapter, unsigned int id, unsigned int op,
777 unsigned int credits); 777 unsigned int credits);
778 778
779void t3_vsc8211_phy_prep(struct cphy *phy, struct adapter *adapter, 779int 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);
781void t3_ael1002_phy_prep(struct cphy *phy, struct adapter *adapter, 781int 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);
783void t3_ael1006_phy_prep(struct cphy *phy, struct adapter *adapter, 783int 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);
785void t3_qt2045_phy_prep(struct cphy *phy, struct adapter *adapter, int phy_addr, 785int 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);
787void t3_xaui_direct_phy_prep(struct cphy *phy, struct adapter *adapter, 787int 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 */