boards.h 874 B

12345678910111213141516171819202122232425262728
  1. /****************************************************************************
  2. * Driver for Solarflare Solarstorm network controllers and boards
  3. * Copyright 2007-2008 Solarflare Communications Inc.
  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. #ifndef EFX_BOARDS_H
  10. #define EFX_BOARDS_H
  11. /* Board IDs (must fit in 8 bits) */
  12. enum efx_board_type {
  13. EFX_BOARD_SFE4001 = 1,
  14. EFX_BOARD_SFE4002 = 2,
  15. EFX_BOARD_SFN4111T = 0x51,
  16. EFX_BOARD_SFN4112F = 0x52,
  17. };
  18. extern void efx_set_board_info(struct efx_nic *efx, u16 revision_info);
  19. /* SFE4001 (10GBASE-T) */
  20. extern int sfe4001_init(struct efx_nic *efx);
  21. /* SFN4111T (100/1000/10GBASE-T) */
  22. extern int sfn4111t_init(struct efx_nic *efx);
  23. #endif