.. | .. |
---|
127 | 127 | struct link_params; |
---|
128 | 128 | struct bnx2x_phy; |
---|
129 | 129 | |
---|
130 | | -typedef u8 (*config_init_t)(struct bnx2x_phy *phy, struct link_params *params, |
---|
131 | | - struct link_vars *vars); |
---|
| 130 | +typedef void (*config_init_t)(struct bnx2x_phy *phy, struct link_params *params, |
---|
| 131 | + struct link_vars *vars); |
---|
132 | 132 | typedef u8 (*read_status_t)(struct bnx2x_phy *phy, struct link_params *params, |
---|
133 | 133 | struct link_vars *vars); |
---|
134 | 134 | typedef void (*link_reset_t)(struct bnx2x_phy *phy, |
---|
135 | 135 | struct link_params *params); |
---|
136 | 136 | typedef void (*config_loopback_t)(struct bnx2x_phy *phy, |
---|
137 | 137 | struct link_params *params); |
---|
138 | | -typedef u8 (*format_fw_ver_t)(u32 raw, u8 *str, u16 *len); |
---|
| 138 | +typedef int (*format_fw_ver_t)(u32 raw, u8 *str, u16 *len); |
---|
139 | 139 | typedef void (*hw_reset_t)(struct bnx2x_phy *phy, struct link_params *params); |
---|
140 | 140 | typedef void (*set_link_led_t)(struct bnx2x_phy *phy, |
---|
141 | 141 | struct link_params *params, u8 mode); |
---|