Skip to content

net: fs_enet: Driver cleanup

Christophe Leroy linuxppc-dev lkml netdev 2 versions Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 2 repliesApplied 10/10
  2. v110 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Remove a trailing whitespace in the old struct moved in patch 7.
- Include powerpc people and list that I forgot when sending v1 (and Rob as expected by Patchwork for patch 6, not sure why)

Patches in v2 All 10 applied

#Subject and filesSizeRepliesApplied
1/10net: fs_enet: Remove set but not used variabledrivers/net/ethernet/freescale/fs_enet/fs_enet-main.c+0 -20 repliesApplied
2/10net: fs_enet: Fix address space and base types mismatchesdrivers/net/ethernet/freescale/fs_enet/mac-fcc.c drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c+3 -30 repliesApplied
3/10net: fs_enet: Remove fs_get_id()include/linux/fs_enet_pd.h+0 -110 repliesApplied
4/10net: fs_enet: Remove unused fields in fs_platform_info structinclude/linux/fs_enet_pd.h+0 -190 repliesApplied
5/10net: fs_enet: Remove has_phy field in fs_platform_info structdrivers/net/ethernet/freescale/fs_enet/mac-fec.c include/linux/fs_enet_pd.h+0 -150 repliesApplied
6/10net: fs_enet: Remove stale prototypes from fsl_soc.carch/powerpc/sysdev/fsl_soc.c+0 -30 repliesApplied
7/10net: fs_enet: Move struct fs_platform_info into fs_enet.hdrivers/net/ethernet/freescale/fs_enet/fs_enet.h drivers/net/ethernet/freescale/fs_enet/mii-fec.c include/linux/fs_enet_pd.h+19 -170 repliesApplied
8/10net: fs_enet: Don't include fs_enet_pd.h when not neededarch/powerpc/platforms/8xx/adder875.c arch/powerpc/platforms/8xx/mpc885ads_setup.c arch/powerpc/platforms/8xx/tqm8xx_setup.c+0 -30 repliesApplied
9/10net: fs_enet: Remove linux/fs_enet_pd.hMAINTAINERS include/linux/fs_enet_pd.h+0 -1190 repliesApplied
10/10net: fs_enet: Use cpm_muram_xxx() functions instead of cpm_dpxxx() macrosdrivers/net/ethernet/freescale/fs_enet/mac-fcc.c drivers/net/ethernet/freescale/fs_enet/mac-scc.c+5 -51 replyApplied

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSimon Horman
SeriesR-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next v2 00/10] net: fs_enet: Driver cleanup

Over the years, platform and driver initialisation have evolved into more generic ways, and driver or platform specific stuff has gone away, leaving stale objects behind.

This series aims at cleaning all that up for fs_enet ethernet driver.

Changes in v2:
- Remove a trailing whitespace in the old struct moved in patch 7.
- Include powerpc people and list that I forgot when sending v1 (and Rob as expected by Patchwork for patch 6, not sure why)

Christophe Leroy (10):
net: fs_enet: Remove set but not used variable
net: fs_enet: Fix address space and base types mismatches
net: fs_enet: Remove fs_get_id()
net: fs_enet: Remove unused fields in fs_platform_info struct
net: fs_enet: Remove has_phy field in fs_platform_info struct
net: fs_enet: Remove stale prototypes from fsl_soc.c
net: fs_enet: Move struct fs_platform_info into fs_enet.h
net: fs_enet: Don't include fs_enet_pd.h when not needed
net: fs_enet: Remove linux/fs_enet_pd.h
net: fs_enet: Use cpm_muram_xxx() functions instead of cpm_dpxxx()
macros

 MAINTAINERS                                   |   1 -
 arch/powerpc/platforms/8xx/adder875.c         |   1 -
 arch/powerpc/platforms/8xx/mpc885ads_setup.c  |   1 -
 arch/powerpc/platforms/8xx/tqm8xx_setup.c     |   1 -
 arch/powerpc/sysdev/fsl_soc.c                 |   3 -
 .../ethernet/freescale/fs_enet/fs_enet-main.c |   2 -
 .../net/ethernet/freescale/fs_enet/fs_enet.h  |  19 +-
 .../net/ethernet/freescale/fs_enet/mac-fcc.c  |   4 +-
 .../net/ethernet/freescale/fs_enet/mac-fec.c  |  14 --
 .../net/ethernet/freescale/fs_enet/mac-scc.c  |   8 +-
 .../ethernet/freescale/fs_enet/mii-bitbang.c  |   4 +-
 .../net/ethernet/freescale/fs_enet/mii-fec.c  |   1 +
 include/linux/fs_enet_pd.h                    | 165 ------------------
 13 files changed, 27 insertions(+), 197 deletions(-)
 delete mode 100644 include/linux/fs_enet_pd.h
Signature · 1 line
2.41.0