Skip to content

net: dsa: microchip: rename and clean ksz8 series files

[email protected] lkml netdev 4 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. v4 Latest3 patches 1 replyApplied 3/3
  2. v33 patches 3 repliesSuperseded
  3. v23 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch3 repliesSuperseded

Changes in v4 from the cover letter

- correct once more Kconfig list of supported switches

Patches in v4 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: dsa: microchip: rename ksz8 series filesdrivers/net/dsa/microchip/Kconfig drivers/net/dsa/microchip/Makefile drivers/net/dsa/microchip/ksz8.c +1 more+24 -91 replyApplied
2/3net: dsa: microchip: clean up ksz8_reg definition macrosdrivers/net/dsa/microchip/ksz8_reg.h+0 -40 repliesApplied
3/3net: dsa: microchip: replace unclear KSZ8830 stringsdrivers/net/dsa/microchip/ksz8.c drivers/net/dsa/microchip/ksz8863_smi.c drivers/net/dsa/microchip/ksz_common.c +3 more+33 -330 repliesApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchArun Ramadoss
1/3A-b
2/3A-b
3/3A-b

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

Read the v4 thread

Cover letter [PATCH net-next v4 0/3] net: dsa: microchip: rename and clean ksz8 series files

From: Pieter Van Trappen <[email protected]>

The first KSZ8 series implementation was done for a KSZ8795 device but since several other KSZ8 devices have been added. Rename these files to adhere to the ksz8 naming convention as already used in most functions and the existing ksz8.h; add an explanatory note.

In addition, clean the files by removing macros that are defined at more than one place and remove confusion by renaming the KSZ8830 string which in fact is not an existing KSZ series switch.

---
v4:
- correct once more Kconfig list of supported switches

v3: https://lore.kernel.org/netdev/[email protected]/
- rename all KSZ8830 to KSZ88X3 only (not KSZ8863)
- update Kconfig as per Arun's suggestion

v2: https://lore.kernel.org/netdev/[email protected]/
- more finegrained description in Kconfig and ksz8.c header
- add KSZ8830/ksz8830 to KSZ8863/ksz88x3 renaming

v1: https://lore.kernel.org/netdev/[email protected]/

Pieter Van Trappen (3):
net: dsa: microchip: rename ksz8 series files
net: dsa: microchip: clean up ksz8_reg definition macros
net: dsa: microchip: replace unclear KSZ8830 strings

 drivers/net/dsa/microchip/Kconfig             |  9 ++--
 drivers/net/dsa/microchip/Makefile            |  2 +-
 .../net/dsa/microchip/{ksz8795.c => ksz8.c}   | 13 +++--
 drivers/net/dsa/microchip/ksz8863_smi.c       |  4 +-
 .../microchip/{ksz8795_reg.h => ksz8_reg.h}   | 15 +++---
 drivers/net/dsa/microchip/ksz_common.c        | 48 +++++++++----------
 drivers/net/dsa/microchip/ksz_common.h        |  4 +-
 drivers/net/dsa/microchip/ksz_spi.c           |  6 +--
 include/linux/platform_data/microchip-ksz.h   |  2 +-
 9 files changed, 57 insertions(+), 46 deletions(-)
 rename drivers/net/dsa/microchip/{ksz8795.c => ksz8.c} (99%)
 rename drivers/net/dsa/microchip/{ksz8795_reg.h => ksz8_reg.h} (98%)

base-commit: e5899b60f52a7591cfc2a2dec3e83710975117d7

Signature · 1 line
2.43.0