diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-23 16:05:45 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-24 10:58:48 -0800 |
commit | 3759433db2f7340ddec3abd55ebb1178600d014e (patch) | |
tree | 7681280a1dbac4a4898b1f615c0185b751eb853e /drivers/net/sfc/falcon_boards.c | |
parent | 5c16a96c4f31a0be287c5db3f36d1099dea9b2bd (diff) | |
download | blackbird-op-linux-3759433db2f7340ddec3abd55ebb1178600d014e.tar.gz blackbird-op-linux-3759433db2f7340ddec3abd55ebb1178600d014e.zip |
sfc: Move struct falcon_board into struct falcon_nic_data
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/falcon_boards.c')
-rw-r--r-- | drivers/net/sfc/falcon_boards.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/sfc/falcon_boards.c b/drivers/net/sfc/falcon_boards.c index af7cd2a0b449..20aebe07fdf2 100644 --- a/drivers/net/sfc/falcon_boards.c +++ b/drivers/net/sfc/falcon_boards.c @@ -721,12 +721,21 @@ static struct falcon_board_data board_data[] = { sfn4112f_init }, }; +static struct falcon_board falcon_dummy_board = { + .init = efx_port_dummy_op_int, + .init_phy = efx_port_dummy_op_void, + .set_id_led = efx_port_dummy_op_set_id_led, + .monitor = efx_port_dummy_op_int, + .fini = efx_port_dummy_op_void, +}; + void falcon_probe_board(struct efx_nic *efx, u16 revision_info) { struct falcon_board *board = falcon_board(efx); struct falcon_board_data *data = NULL; int i; + *board = falcon_dummy_board; board->type = FALCON_BOARD_TYPE(revision_info); board->major = FALCON_BOARD_MAJOR(revision_info); board->minor = FALCON_BOARD_MINOR(revision_info); |