sfc: Cleanup and preparation for new hardware
Get series with b4
b4 am 1256322441.2785.3.camel@achroiteVersions newest first
- v1 Latest27 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/27 | sfc: Remove redundant header gmii.hdrivers/ drivers/ | +0 | 0 replies | |
| 2/27 | sfc: Remove redundant hardware initialisationdrivers/ | +0 | 0 replies | |
| 3/27 | sfc: Rename Falcon-specific board code and typesdrivers/ drivers/ drivers/ +2 more | +25 | 0 replies | |
| 4/27 | sfc: Merge sfe4001.c into falcon_boards.cdrivers/ drivers/ drivers/ +1 more | +420 | 0 replies | |
| 5/27 | sfc: Remove boards.h, moving last remaining declaration to falcon.hdrivers/ drivers/ drivers/ +6 more | +2 | 0 replies | |
| 6/27 | sfc: Remove versioned bitfield macrosdrivers/ drivers/ drivers/ | +47 | 0 replies | |
| 7/27 | sfc: Move RX data FIFO thresholds out of struct efx_nic_typedrivers/ drivers/ | +12 | 0 replies | |
| 8/27 | sfc: Update hardware definitions for Sienadrivers/ drivers/ drivers/ +4 more | +3756 | 0 replies | |
| 9/27 | sfc: Rename register I/O header and functions used by both Falcon and Sienadrivers/ drivers/ drivers/ +4 more | +426 | 0 replies | |
| 10/27 | sfc: Eliminate indirect lookups of queue size constantsdrivers/ drivers/ drivers/ +4 more | +62 | 0 replies | |
| 11/27 | sfc: Define DMA address mask explicitly in terms of descriptor field widthdrivers/ | +2 | 0 replies | |
| 12/27 | sfc: Move all TX DMA length limiting into tx.cdrivers/ drivers/ drivers/ +1 more | +25 | 0 replies | |
| 13/27 | sfc: Merge struct efx_blinker into struct efx_boarddrivers/ drivers/ | +21 | 0 replies | |
| 14/27 | sfc: Change order of device removal to reverse of probe orderdrivers/ | +1 | 0 replies | |
| 15/27 | sfc: Remove declarations of nonexistent functionsdrivers/ | +0 | 0 replies | |
| 16/27 | sfc: Move efx_xmit_done() declaration into correct stanzadrivers/ | +1 | 0 replies | |
| 17/27 | sfc: Move shared members of struct falcon_nic_data into struct efx_nicdrivers/ drivers/ | +14 | 0 replies | |
| 18/27 | sfc: Maintain interrupt moderation values in ticks, not microsecondsdrivers/ drivers/ drivers/ +1 more | +28 | 0 replies | |
| 19/27 | sfc: Removed kernel-doc for nonexistent member of efx_phy_operationsdrivers/ | +0 | 0 replies | |
| 20/27 | sfc: Remove pointless abstraction of memory BAR numberdrivers/ drivers/ drivers/ | +10 | 0 replies | |
| 21/27 | sfc: Merge falcon_probe_phy() into falcon_probe_port()drivers/ | +25 | 0 replies | |
| 22/27 | sfc: Remove incorrect assertion from efx_pci_remove_main()drivers/ | +0 | 0 replies | |
| 23/27 | sfc: Remove unnecessary tests of efx->membasedrivers/ | +0 | 0 replies | |
| 24/27 | sfc: Move MTD probe after netdev registration and name allocationdrivers/ | +4 | 0 replies | |
| 25/27 | sfc: Merge efx_fc_resolve() into efx_mdio_get_pause()drivers/ drivers/ | +8 | 0 replies | |
| 26/27 | sfc: Remove unused code for non-autoneg speed/duplex switchingdrivers/ | +39 | 0 replies | |
| 27/27 | sfc: Rename 'xfp' file and functions to reflect realitydrivers/ drivers/ drivers/ +2 more | +58 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/27] sfc: Cleanup and preparation for new hardware
David,
This is a mixture of small cleanups, refactoring, renaming and an update to the register definitions. There's more to come, in particular support for the new hardware, but I'll let you digest this batch first.
Ben.
Ben Hutchings (27):
sfc: Remove redundant header gmii.h
sfc: Remove redundant hardware initialisation
sfc: Rename Falcon-specific board code and types
sfc: Merge sfe4001.c into falcon_boards.c
sfc: Remove boards.h, moving last remaining declaration to falcon.h
sfc: Remove versioned bitfield macros
sfc: Move RX data FIFO thresholds out of struct efx_nic_type
sfc: Update hardware definitions for Siena
sfc: Rename register I/O header and functions used by both Falcon and
Siena
sfc: Eliminate indirect lookups of queue size constants
sfc: Define DMA address mask explicitly in terms of descriptor field
width
sfc: Move all TX DMA length limiting into tx.c
sfc: Merge struct efx_blinker into struct efx_board
sfc: Change order of device removal to reverse of probe order
sfc: Remove declarations of nonexistent functions
sfc: Move efx_xmit_done() declaration into correct stanza
sfc: Move shared members of struct falcon_nic_data into struct
efx_nic
sfc: Maintain interrupt moderation values in ticks, not microseconds
sfc: Removed kernel-doc for nonexistent member of efx_phy_operations
sfc: Remove pointless abstraction of memory BAR number
sfc: Merge falcon_probe_phy() into falcon_probe_port()
sfc: Remove incorrect assertion from efx_pci_remove_main()
sfc: Remove unnecessary tests of efx->membase
sfc: Move MTD probe after netdev registration and name allocation
sfc: Merge efx_fc_resolve() into efx_mdio_get_pause()
sfc: Remove unused code for non-autoneg speed/duplex switching
sfc: Rename 'xfp' file and functions to reflect reality
drivers/net/sfc/Makefile | 4 +-
drivers/net/sfc/bitfield.h | 13 -
drivers/net/sfc/boards.c | 328 ---
drivers/net/sfc/boards.h | 28 -
drivers/net/sfc/efx.c | 89 +-
drivers/net/sfc/efx.h | 11 +-
drivers/net/sfc/ethtool.c | 8 +-
drivers/net/sfc/falcon.c | 1122 +++++-----
drivers/net/sfc/falcon.h | 4 +-
drivers/net/sfc/falcon_boards.c | 752 +++++++
drivers/net/sfc/falcon_gmac.c | 95 +-
drivers/net/sfc/falcon_hwdefs.h | 1333 -----------
drivers/net/sfc/falcon_io.h | 258 ---
drivers/net/sfc/falcon_xmac.c | 178 +-
drivers/net/sfc/gmii.h | 60 -
drivers/net/sfc/io.h | 256 +++
drivers/net/sfc/mdio_10g.c | 121 +-
drivers/net/sfc/mdio_10g.h | 1 -
drivers/net/sfc/net_driver.h | 56 +-
drivers/net/sfc/phy.h | 6 +-
drivers/net/sfc/{xfp_phy.c => qt202x_phy.c} | 80 +-
drivers/net/sfc/regs.h | 3180 +++++++++++++++++++++++++++
drivers/net/sfc/rx.c | 16 +-
drivers/net/sfc/selftest.c | 5 +-
drivers/net/sfc/sfe4001.c | 435 ----
drivers/net/sfc/tenxpress.c | 3 +-
drivers/net/sfc/tx.c | 83 +-
drivers/net/sfc/workarounds.h | 2 +
28 files changed, 5091 insertions(+), 3436 deletions(-)
delete mode 100644 drivers/net/sfc/boards.c
delete mode 100644 drivers/net/sfc/boards.h
create mode 100644 drivers/net/sfc/falcon_boards.c
delete mode 100644 drivers/net/sfc/falcon_hwdefs.h
delete mode 100644 drivers/net/sfc/falcon_io.h
delete mode 100644 drivers/net/sfc/gmii.h
create mode 100644 drivers/net/sfc/io.h
rename drivers/net/sfc/{xfp_phy.c => qt202x_phy.c} (73%)
create mode 100644 drivers/net/sfc/regs.h
delete mode 100644 drivers/net/sfc/sfe4001.cSignature · 3 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked.