Skip to content

net: phy: at803x: cleanup

Christian Marangi 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 Latest13 patches 0 repliesApplied 13/13
  2. v313 patches 1 replySuperseded
  3. v212 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v114 patches33 repliesSuperseded

Changes in v4 from the cover letter

- Improve at8031_probe function

Patches in v4 All 13 applied

#Subject and filesSizeRepliesApplied
1/13net: phy: at803x: fix passing the wrong reference for config_intrdrivers/net/phy/at803x.c+3 -30 repliesApplied
2/13net: phy: at803x: move disable WOL to specific at8031 probedrivers/net/phy/at803x.c+17 -100 repliesApplied
3/13net: phy: at803x: raname hw_stats functions to qca83xx specific namedrivers/net/phy/at803x.c+22 -220 repliesApplied
4/13net: phy: at803x: move qca83xx specific check in dedicated functionsdrivers/net/phy/at803x.c+37 -310 repliesApplied
5/13net: phy: at803x: move specific DT option for at8031 to specific probedrivers/net/phy/at803x.c+31 -240 repliesApplied
6/13net: phy: at803x: move specific at8031 probe mode check to dedicated probedrivers/net/phy/at803x.c+19 -200 repliesApplied
7/13net: phy: at803x: move specific at8031 config_init to dedicated functiondrivers/net/phy/at803x.c+25 -200 repliesApplied
8/13net: phy: at803x: move specific at8031 WOL bits to dedicated functiondrivers/net/phy/at803x.c+25 -170 repliesApplied
9/13net: phy: at803x: move specific at8031 config_intr to dedicated functiondrivers/net/phy/at803x.c+24 -60 repliesApplied
10/13net: phy: at803x: make at8031 related DT functions name more specificdrivers/net/phy/at803x.c+8 -80 repliesApplied
11/13net: phy: at803x: move at8031 functions in dedicated sectiondrivers/net/phy/at803x.c+133 -1330 repliesApplied
12/13net: phy: at803x: move at8035 specific DT parse to dedicated probedrivers/net/phy/at803x.c+41 -190 repliesApplied
13/13net: phy: at803x: drop specific PHY ID check from cable test functionsdrivers/net/phy/at803x.c+50 -450 repliesApplied

Reviews trailers per patch

8 of 13 patches have a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/13R-b
2/13R-b
3/13R-b
4/13R-b
5/13R-b
6/13R-b
7/13R-b
8/13
9/13
10/13
11/13
12/13R-b
13/13

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

Read the v4 thread

Cover letter [net-next PATCH v4 00/13] net: phy: at803x: cleanup

The intention of this big series is to try to cleanup the big at803x PHY driver.

It currently have 3 different family of PHY in it. at803x, qca83xx and qca808x.

The current codebase required lots of cleanup and reworking to make the split possible as currently there is a greater use of adding special function matching the phy_id.

This has been reworked to make the function actually generic and make the change only in more specific one. The result is the addition of micro additional function but that is for good as it massively simplify splitting the driver later.

Consider that this is all in preparation for the addition of qca807x PHY driver that will also uso some of the functions of at803x.

Subsequent series will come with the actual PHY split and other required cleanup. This is only to start the process with minor changes.

Changes v4:
- Improve at8031_probe function
Changes v3:
- Add Reviewed-by tag from Andrew
- Split patch 10 (at8031 rename) to rename and move Changes v2:
- Drop split part due to series too big
- Split changes even more
- Fix problem pointed out by Russell (flawed reworked function logic)
- Add Reviewed-by tag from Andrew
- Minor rework to prevent further code duplication for cdt

Christian Marangi (13):
net: phy: at803x: fix passing the wrong reference for config_intr
net: phy: at803x: move disable WOL to specific at8031 probe
net: phy: at803x: raname hw_stats functions to qca83xx specific name
net: phy: at803x: move qca83xx specific check in dedicated functions
net: phy: at803x: move specific DT option for at8031 to specific probe
net: phy: at803x: move specific at8031 probe mode check to dedicated
probe
net: phy: at803x: move specific at8031 config_init to dedicated
function
net: phy: at803x: move specific at8031 WOL bits to dedicated function
net: phy: at803x: move specific at8031 config_intr to dedicated
function
net: phy: at803x: make at8031 related DT functions name more specific
net: phy: at803x: move at8031 functions in dedicated section
net: phy: at803x: move at8035 specific DT parse to dedicated probe
net: phy: at803x: drop specific PHY ID check from cable test functions

 drivers/net/phy/at803x.c | 775 +++++++++++++++++++++------------------
 1 file changed, 426 insertions(+), 349 deletions(-)
Signature · 1 line
2.40.1