[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231201001423.20989-1-ansuelsmth@gmail.com>
Date: Fri, 1 Dec 2023 01:14:10 +0100
From: Christian Marangi <ansuelsmth@...il.com>
To: Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Christian Marangi <ansuelsmth@...il.com>
Subject: [net-next PATCH v2 00/12] 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 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 (12):
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 at8035 specific DT parse to dedicated probe
net: phy: at803x: drop specific PHY ID check from cable test functions
drivers/net/phy/at803x.c | 777 +++++++++++++++++++++------------------
1 file changed, 428 insertions(+), 349 deletions(-)
--
2.40.1
Powered by blists - more mailing lists