blob: d93c6c6a754864bfef4b80326b6086a8947fe350 [file] [log] [blame]
Ben Hutchings8ceee662008-04-27 12:55:59 +01001/****************************************************************************
2 * Driver for Solarflare Solarstorm network controllers and boards
Ben Hutchings04300d22008-12-12 21:48:09 -08003 * Copyright 2007-2008 Solarflare Communications Inc.
Ben Hutchings8ceee662008-04-27 12:55:59 +01004 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 as published
7 * by the Free Software Foundation, incorporated herein by reference.
8 */
9
10#ifndef EFX_BOARDS_H
11#define EFX_BOARDS_H
12
13/* Board IDs (must fit in 8 bits) */
14enum efx_board_type {
Ben Hutchings6f158d52008-12-12 22:00:49 -080015 EFX_BOARD_SFE4001 = 1,
Ben Hutchings8ceee662008-04-27 12:55:59 +010016 EFX_BOARD_SFE4002 = 2,
Ben Hutchings6f158d52008-12-12 22:00:49 -080017 EFX_BOARD_SFN4111T = 0x51,
Ben Hutchings8ceee662008-04-27 12:55:59 +010018};
19
Ben Hutchings04300d22008-12-12 21:48:09 -080020extern void efx_set_board_info(struct efx_nic *efx, u16 revision_info);
Ben Hutchings6f158d52008-12-12 22:00:49 -080021
22/* SFE4001 (10GBASE-T) */
Ben Hutchings37b5a602008-05-30 22:27:04 +010023extern int sfe4001_init(struct efx_nic *efx);
Ben Hutchings6f158d52008-12-12 22:00:49 -080024/* SFN4111T (100/1000/10GBASE-T) */
25extern int sfn4111t_init(struct efx_nic *efx);
Ben Hutchings8ceee662008-04-27 12:55:59 +010026
27#endif