sfc: Make board information explicitly Falcon-specific
Rename struct efx_board to struct falcon_board. Introduce and use inline function to look up board info from struct efx_nic, in preparation for moving it. Move board init and fini calls into NIC probe and remove functions. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
981fc1b4b8
commit
278c0621fb
@@ -126,7 +126,7 @@ static int qt202x_reset_phy(struct efx_nic *efx)
|
||||
if (rc < 0)
|
||||
goto fail;
|
||||
|
||||
efx->board_info.init_phy(efx);
|
||||
falcon_board(efx)->init_phy(efx);
|
||||
|
||||
return rc;
|
||||
|
||||
|
Reference in New Issue
Block a user