diff options
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb/common.h')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb/common.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb/common.h b/drivers/net/ethernet/chelsio/cxgb/common.h index 5ccbed1784d2..8abb46b39032 100644 --- a/drivers/net/ethernet/chelsio/cxgb/common.h +++ b/drivers/net/ethernet/chelsio/cxgb/common.h | |||
@@ -324,30 +324,30 @@ static inline unsigned int core_ticks_per_usec(const adapter_t *adap) | |||
324 | return board_info(adap)->clock_core / 1000000; | 324 | return board_info(adap)->clock_core / 1000000; |
325 | } | 325 | } |
326 | 326 | ||
327 | extern int __t1_tpi_read(adapter_t *adapter, u32 addr, u32 *valp); | 327 | int __t1_tpi_read(adapter_t *adapter, u32 addr, u32 *valp); |
328 | extern int __t1_tpi_write(adapter_t *adapter, u32 addr, u32 value); | 328 | int __t1_tpi_write(adapter_t *adapter, u32 addr, u32 value); |
329 | extern int t1_tpi_write(adapter_t *adapter, u32 addr, u32 value); | 329 | int t1_tpi_write(adapter_t *adapter, u32 addr, u32 value); |
330 | extern int t1_tpi_read(adapter_t *adapter, u32 addr, u32 *value); | 330 | int t1_tpi_read(adapter_t *adapter, u32 addr, u32 *value); |
331 | 331 | ||
332 | extern void t1_interrupts_enable(adapter_t *adapter); | 332 | void t1_interrupts_enable(adapter_t *adapter); |
333 | extern void t1_interrupts_disable(adapter_t *adapter); | 333 | void t1_interrupts_disable(adapter_t *adapter); |
334 | extern void t1_interrupts_clear(adapter_t *adapter); | 334 | void t1_interrupts_clear(adapter_t *adapter); |
335 | extern int t1_elmer0_ext_intr_handler(adapter_t *adapter); | 335 | int t1_elmer0_ext_intr_handler(adapter_t *adapter); |
336 | extern void t1_elmer0_ext_intr(adapter_t *adapter); | 336 | void t1_elmer0_ext_intr(adapter_t *adapter); |
337 | extern int t1_slow_intr_handler(adapter_t *adapter); | 337 | int t1_slow_intr_handler(adapter_t *adapter); |
338 | 338 | ||
339 | extern int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc); | 339 | int t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc); |
340 | extern const struct board_info *t1_get_board_info(unsigned int board_id); | 340 | const struct board_info *t1_get_board_info(unsigned int board_id); |
341 | extern const struct board_info *t1_get_board_info_from_ids(unsigned int devid, | 341 | const struct board_info *t1_get_board_info_from_ids(unsigned int devid, |
342 | unsigned short ssid); | 342 | unsigned short ssid); |
343 | extern int t1_seeprom_read(adapter_t *adapter, u32 addr, __le32 *data); | 343 | int t1_seeprom_read(adapter_t *adapter, u32 addr, __le32 *data); |
344 | extern int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi, | 344 | int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi, |
345 | struct adapter_params *p); | 345 | struct adapter_params *p); |
346 | extern int t1_init_hw_modules(adapter_t *adapter); | 346 | int t1_init_hw_modules(adapter_t *adapter); |
347 | extern int t1_init_sw_modules(adapter_t *adapter, const struct board_info *bi); | 347 | int t1_init_sw_modules(adapter_t *adapter, const struct board_info *bi); |
348 | extern void t1_free_sw_modules(adapter_t *adapter); | 348 | void t1_free_sw_modules(adapter_t *adapter); |
349 | extern void t1_fatal_err(adapter_t *adapter); | 349 | void t1_fatal_err(adapter_t *adapter); |
350 | extern void t1_link_changed(adapter_t *adapter, int port_id); | 350 | void t1_link_changed(adapter_t *adapter, int port_id); |
351 | extern void t1_link_negotiated(adapter_t *adapter, int port_id, int link_stat, | 351 | void t1_link_negotiated(adapter_t *adapter, int port_id, int link_stat, |
352 | int speed, int duplex, int pause); | 352 | int speed, int duplex, int pause); |
353 | #endif /* _CXGB_COMMON_H_ */ | 353 | #endif /* _CXGB_COMMON_H_ */ |