Staging: et131x: config is already zeroed
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / net / sfc / boards.h
CommitLineData
8ceee660
BH
1/****************************************************************************
2 * Driver for Solarflare Solarstorm network controllers and boards
04300d24 3 * Copyright 2007-2008 Solarflare Communications Inc.
8ceee660
BH
4 *
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 {
6f158d5f 15 EFX_BOARD_SFE4001 = 1,
8ceee660 16 EFX_BOARD_SFE4002 = 2,
6f158d5f 17 EFX_BOARD_SFN4111T = 0x51,
94f52cd1 18 EFX_BOARD_SFN4112F = 0x52,
8ceee660
BH
19};
20
04300d24 21extern void efx_set_board_info(struct efx_nic *efx, u16 revision_info);
6f158d5f
BH
22
23/* SFE4001 (10GBASE-T) */
37b5a603 24extern int sfe4001_init(struct efx_nic *efx);
6f158d5f
BH
25/* SFN4111T (100/1000/10GBASE-T) */
26extern int sfn4111t_init(struct efx_nic *efx);
8ceee660
BH
27
28#endif