Add support to PHYLINK for LAN743x/PCI11x1x chips
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
- v2 posting 2/25 patches 38 repliesIn review
- v6 Latest5 patches 1 replyApplied 5/5
- v55 patches 4 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 5 patches | 5 replies | Superseded | |
| v3 | 4 patches | 11 replies | Superseded | |
| v2 posting 1/2 | 4 patches | 12 replies | Superseded | |
| v1 | 7 patches | 1 reply | Superseded |
Changes in v6 from the cover letter
- Remove the lan743x_find_max_speed( ) function. Not require
- Add EEE enable check before calling lan743x_mac_eee_enable( ) function
Patches in v6 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | net: phylink: Add phylink_set_fixed_link() to configure fixed link state in phylinkdrivers/ include/ | +44 | 0 replies | Applied |
| 2/5 | net: lan743x: Create separate PCS power reset functiondrivers/ | +29 | 0 replies | Applied |
| 3/5 | net: lan743x: Create separate Link Speed Duplex state functiondrivers/ | +45 | 0 replies | Applied |
| 4/5 | net: lan743x: Migrate phylib to phylinkdrivers/ drivers/ drivers/ | +349 | 1 reply | Applied |
| 5/5 | net: lan743x: Add support to ethtool phylink get and set settingsdrivers/ drivers/ drivers/ | +67 | 0 replies | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Lunn | Maxime Chevallier |
|---|---|---|
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | R-b | |
| 4/5 | R-b | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next V6 0/5] Add support to PHYLINK for LAN743x/PCI11x1x chips
This is the follow-up patch series of
https://lkml.iu.edu/hypermail/linux/kernel/2310.2/02078.html
Divide the PHYLINK adaptation and SFP modifications into two separate patch series.
The current patch series focuses on transitioning the LAN743x driver's PHY support from phylib to phylink.
Tested on PCI11010 Rev-1 Evaluation board
Change List:
============
V5 -> V6:
- Remove the lan743x_find_max_speed( ) function. Not require
- Add EEE enable check before calling lan743x_mac_eee_enable( ) function
V4 -> V5:
- Remove the fixed_phy_unregister( ) function. Not require
- Remove the "phydev->eee_enabled" check to update the MAC EEE enable/disable
- Call lan743x_mac_eee_enable() with true after update tx_lpi_timer.
- Add phy_support_eee() to initialize the EEE flags
V3 -> V4:
- Add fixed-link patch along with this series.
Note: Note: This code was developed by Mr.Russell King Ref:
https://lore.kernel.org/netdev/LV8PR11MB8700C786F5F1C274C73036CC9F8E2@LV8PR11MB8700.namprd11.prod.outlook.com/T/#me943adf54f1ea082edf294aba448fa003a116815
- Change phylink fixed-link function header's string from "Returns" to
"Returns:"
- Remove the EEE private variable from LAN743x adapter strcture and fix the EEE's set/get functions
- set the individual caps (i.e. _RGMII, _RGMII_ID, _RGMII_RXID and __RGMII_TXID) replace with phy_interface_set_rgmii( ) function
- Change lan743x_set_eee( ) to lan743x_mac_eee_enable( )
V2 -> V3:
- Remove the unwanted parens in each of these if() sub-blocks
- Replace "to_net_dev(config->dev)" with "netdev".
- Add GMII_ID/RGMII_TXID/RGMII_RXID in supported_interfaces
- Fix the lan743x_phy_handle_exists( ) return type
V1 -> V2:
- Fix the Russell King's comments i.e. remove the speed, duplex update in
lan743x_phylink_mac_config( )
- pre-March 2020 legacy support has been removed
V0 -> V1:
- Integrate with Synopsys DesignWare XPCS drivers
- Based on external review comments,
- Changes made to SGMII interface support only 1G/100M/10M bps speed
- Changes made to 2500Base-X interface support only 2.5Gbps speed
- Add check for not is_sgmii_en with is_sfp_support_en support
- Change the "pci11x1x_strap_get_status" function return type from void to int
- Add ethtool phylink wol, eee, pause get/set functions
Raju Lakkaraju (5):
net: phylink: Add phylink_set_fixed_link() to configure fixed link
state in phylink
net: lan743x: Create separate PCS power reset function
net: lan743x: Create separate Link Speed Duplex state function
net: lan743x: Migrate phylib to phylink
net: lan743x: Add support to ethtool phylink get and set settings
drivers/net/ethernet/microchip/Kconfig | 5 +- .../net/ethernet/microchip/lan743x_ethtool.c | 123 ++-- drivers/net/ethernet/microchip/lan743x_main.c | 646 +++++++++++------- drivers/net/ethernet/microchip/lan743x_main.h | 4 + drivers/net/phy/phylink.c | 42 ++ include/linux/phylink.h | 2 + 6 files changed, 498 insertions(+), 324 deletions(-)
Signature · 1 line
2.34.1