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>
Showing
- drivers/net/sfc/efx.c 6 additions, 19 deletionsdrivers/net/sfc/efx.c
- drivers/net/sfc/ethtool.c 3 additions, 3 deletionsdrivers/net/sfc/ethtool.c
- drivers/net/sfc/falcon.c 11 additions, 0 deletionsdrivers/net/sfc/falcon.c
- drivers/net/sfc/falcon.h 5 additions, 0 deletionsdrivers/net/sfc/falcon.h
- drivers/net/sfc/falcon_boards.c 58 additions, 48 deletionsdrivers/net/sfc/falcon_boards.c
- drivers/net/sfc/net_driver.h 3 additions, 3 deletionsdrivers/net/sfc/net_driver.h
- drivers/net/sfc/qt202x_phy.c 1 addition, 1 deletiondrivers/net/sfc/qt202x_phy.c
- drivers/net/sfc/tenxpress.c 1 addition, 1 deletiondrivers/net/sfc/tenxpress.c
Loading
Please register or sign in to comment