summaryrefslogtreecommitdiff
path: root/drivers/net/sfc/boards.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-10-23 12:29:16 +0400
committerDavid S. Miller <davem@davemloft.net>2009-10-24 15:26:52 +0400
commit3473a5b11827fa0f84f18b79373a26290798f54a (patch)
tree8ca354bc60565904930a8b114528380f06c99cb9 /drivers/net/sfc/boards.h
parent19e71cf6910defed10c5d22af9f4591bbcd6a0fe (diff)
downloadlinux-3473a5b11827fa0f84f18b79373a26290798f54a.tar.xz
sfc: Rename Falcon-specific board code and types
Siena will require entirely different board code. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/boards.h')
-rw-r--r--drivers/net/sfc/boards.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/net/sfc/boards.h b/drivers/net/sfc/boards.h
index 44942de0e080..c1a57106bd13 100644
--- a/drivers/net/sfc/boards.h
+++ b/drivers/net/sfc/boards.h
@@ -10,15 +10,9 @@
#ifndef EFX_BOARDS_H
#define EFX_BOARDS_H
-/* Board IDs (must fit in 8 bits) */
-enum efx_board_type {
- EFX_BOARD_SFE4001 = 1,
- EFX_BOARD_SFE4002 = 2,
- EFX_BOARD_SFN4111T = 0x51,
- EFX_BOARD_SFN4112F = 0x52,
-};
+#define FALCON_BOARD_SFE4001 0x01
-extern void efx_set_board_info(struct efx_nic *efx, u16 revision_info);
+extern void falcon_probe_board(struct efx_nic *efx, u16 revision_info);
/* SFE4001 (10GBASE-T) */
extern int sfe4001_init(struct efx_nic *efx);