2008-04-27 11:55:59 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* Driver for Solarflare Solarstorm network controllers and boards
|
2008-12-13 05:48:09 +00:00
|
|
|
* Copyright 2007-2008 Solarflare Communications Inc.
|
2008-04-27 11:55:59 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
|
|
* by the Free Software Foundation, incorporated herein by reference.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef EFX_BOARDS_H
|
|
|
|
#define EFX_BOARDS_H
|
|
|
|
|
|
|
|
/* Board IDs (must fit in 8 bits) */
|
|
|
|
enum efx_board_type {
|
2008-12-13 06:00:49 +00:00
|
|
|
EFX_BOARD_SFE4001 = 1,
|
2008-04-27 11:55:59 +00:00
|
|
|
EFX_BOARD_SFE4002 = 2,
|
2008-12-13 06:00:49 +00:00
|
|
|
EFX_BOARD_SFN4111T = 0x51,
|
2009-02-27 13:08:18 +00:00
|
|
|
EFX_BOARD_SFN4112F = 0x52,
|
2008-04-27 11:55:59 +00:00
|
|
|
};
|
|
|
|
|
2008-12-13 05:48:09 +00:00
|
|
|
extern void efx_set_board_info(struct efx_nic *efx, u16 revision_info);
|
2008-12-13 06:00:49 +00:00
|
|
|
|
|
|
|
/* SFE4001 (10GBASE-T) */
|
2008-05-30 21:27:04 +00:00
|
|
|
extern int sfe4001_init(struct efx_nic *efx);
|
2008-12-13 06:00:49 +00:00
|
|
|
/* SFN4111T (100/1000/10GBASE-T) */
|
|
|
|
extern int sfn4111t_init(struct efx_nic *efx);
|
2008-04-27 11:55:59 +00:00
|
|
|
|
|
|
|
#endif
|