net: OpenFirmware GPIO based MDIO bitbang driver
[zen-stable.git] / drivers / net / sfc / boards.h
blobe5e844359ce7b058856594da7d4763dc1b4c57ac
1 /****************************************************************************
2 * Driver for Solarflare Solarstorm network controllers and boards
3 * Copyright 2007 Solarflare Communications Inc.
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 */
10 #ifndef EFX_BOARDS_H
11 #define EFX_BOARDS_H
13 /* Board IDs (must fit in 8 bits) */
14 enum efx_board_type {
15 EFX_BOARD_INVALID = 0,
16 EFX_BOARD_SFE4001 = 1, /* SFE4001 (10GBASE-T) */
17 EFX_BOARD_SFE4002 = 2,
18 /* Insert new types before here */
19 EFX_BOARD_MAX
22 extern int efx_set_board_info(struct efx_nic *efx, u16 revision_info);
23 extern int sfe4001_init(struct efx_nic *efx);
24 /* Are we putting the PHY into flash config mode */
25 extern unsigned int sfe4001_phy_flash_cfg;
27 #endif