Call phy_config at port probe time for the Felix DSA driver
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | net: dsa: felix: felix_init() can be staticdrivers/ | +1 | 1 reply | |
| 2/6 | net: dsa: use "err" instead of "ret" in dsa_port_probenet/ | +4 | 1 reply | |
| 3/6 | net: dsa: refactor the code to set the port MAC address into a dedicated functionnet/ | +21 | 2 replies | |
| 4/6 | net: dsa: introduce a .port_probe() method in struct dsa_opsinclude/ net/ | +11 | 1 reply | |
| 5/6 | net: dsa: felix: call phy_config at .port_probe() timedrivers/ | +15 | 1 reply | |
| 6/6 | net: dsa: felix: propagate the error code from phy_startup()drivers/ | +1 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Ramon Fried | Michael Walle |
|---|---|---|
| Series | T-b | |
| 1/6 | R-b | |
| 2/6 | R-b | |
| 3/6 | R-b | |
| 4/6 | R-b | |
| 5/6 | R-b | |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] Call phy_config at port probe time for the Felix DSA driver
From: Vladimir Oltean <[email protected]>
This series makes the Felix DSA driver initialize all its connected PHYs regardless of whether those will be used for networking or not. This is in order to satisfy the expectations of some software in later boot stages.
To make this work, it is necessary to introduce a new method in structdsa_ops: .port_probe().
There is some further refactoring/cleanup along the way.
Vladimir Oltean (6):
net: dsa: felix: felix_init() can be static
net: dsa: use "err" instead of "ret" in dsa_port_probe
net: dsa: refactor the code to set the port MAC address into a
dedicated function
net: dsa: introduce a .port_probe() method in struct dsa_ops
net: dsa: felix: call phy_config at .port_probe() time
net: dsa: felix: propagate the error code from phy_startup()
drivers/net/mscc_eswitch/felix_switch.c | 28 ++++++++------ include/net/dsa.h | 5 ++- net/dsa-uclass.c | 50 ++++++++++++++++--------- 3 files changed, 53 insertions(+), 30 deletions(-)
Signature · 1 line
2.25.1