sfc: Clean up struct falcon_board and struct falcon_board_data

Put all static information in struct falcon_board_type and replace it
with a pointer in struct falcon_board.  Simplify probing aocordingly.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Ben Hutchings
2009-11-25 16:09:41 +00:00
committed by David S. Miller
parent 734a350a6c
commit 44838a447d
7 changed files with 85 additions and 80 deletions

View File

@ -126,7 +126,7 @@ static int qt202x_reset_phy(struct efx_nic *efx)
if (rc < 0)
goto fail;
falcon_board(efx)->init_phy(efx);
falcon_board(efx)->type->init_phy(efx);
return rc;