Merge branch 'microchip=ksz8-cleanup'
authorDavid S. Miller <davem@davemloft.net>
Fri, 6 Sep 2024 07:41:36 +0000 (08:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Sep 2024 07:41:36 +0000 (08:41 +0100)
commit2c4cec1643d1aee40c9cbf37ae829aa35fa1183b
tree5a660792a1e016f1ef086233fcc9a381ee0b6ba8
parent76930d3d20d595ffffe516df1b3d6a70c4f33bd6
parent23de126f9248a2f9218175ea0dd1c1403e334440
Merge branch 'microchip=ksz8-cleanup'

Pieter Van Trappen says:

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

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.

Signed-off-by: Pieter Van Trappen <pieter.van.trappen@cern.ch>
---
v4:
 - correct once more Kconfig list of supported switches

v3: https://lore.kernel.org/netdev/20240903072946.344507-1-vtpieter@gmail.com/
 - rename all KSZ8830 to KSZ88X3 only (not KSZ8863)
 - update Kconfig as per Arun's suggestion

v2: https://lore.kernel.org/netdev/20240830141250.30425-1-vtpieter@gmail.com/
 - more finegrained description in Kconfig and ksz8.c header
 - add KSZ8830/ksz8830 to KSZ8863/ksz88x3 renaming

v1: https://lore.kernel.org/netdev/20240828102801.227588-1-vtpieter@gmail.com/
====================

Signed-off-by: David S. Miller <davem@davemloft.net>