net: phy: move PHY package code to its own source file
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
- v3 Latest8 patches 0 repliesApplied 8/8
- v28 patches 1 replySuperseded
- v18 patches 6 repliesSuperseded
v2 from the cover letter
- rename the getters
- add a new header file phylib.h, which is used by PHY drivers only v3:
- include phylib.h in bcm54140.c
Patches in v3 All 8 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | net: phy: move PHY package code from phy_device.c to own source filedrivers/ drivers/ drivers/ | +246 | 0 replies | Applied |
| 2/8 | net: phy: add getters for public members in struct phy_package_shareddrivers/ drivers/ | +29 | 0 replies | Applied |
| 3/8 | net: phy: qca807x: use new phy_package_shared gettersdrivers/ | +7 | 0 replies | Applied |
| 4/8 | net: phy: micrel: use new phy_package_shared gettersdrivers/ | +5 | 0 replies | Applied |
| 5/8 | net: phy: mediatek: use new phy_package_shared gettersdrivers/ | +4 | 0 replies | Applied |
| 6/8 | net: phy: mscc: use new phy_package_shared gettersdrivers/ | +8 | 0 replies | Applied |
| 7/8 | net: phy: move PHY package related code from phy.h to phy_package.cdrivers/ drivers/ drivers/ +4 more | +73 | 0 replies | Applied |
| 8/8 | net: phy: remove remaining PHY package related definitions from phy.hdrivers/ drivers/ include/ | +38 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH net-next v3 0/8] net: phy: move PHY package code to its own source file
This series contributes to cleaning up phylib by moving PHY package related code to its own source file.
v2:
- rename the getters
- add a new header file phylib.h, which is used by PHY drivers only v3:
- include phylib.h in bcm54140.c
Heiner Kallweit (8):
net: phy: move PHY package code from phy_device.c to own source file
net: phy: add getters for public members in struct phy_package_shared
net: phy: qca807x: use new phy_package_shared getters
net: phy: micrel: use new phy_package_shared getters
net: phy: mediatek: use new phy_package_shared getters
net: phy: mscc: use new phy_package_shared getters
net: phy: move PHY package related code from phy.h to phy_package.c
net: phy: remove remaining PHY package related definitions from phy.h
drivers/net/phy/Makefile | 3 +- drivers/net/phy/bcm54140.c | 1 + drivers/net/phy/mediatek/mtk-ge-soc.c | 7 +- drivers/net/phy/micrel.c | 9 +- drivers/net/phy/mscc/mscc_main.c | 2 + drivers/net/phy/mscc/mscc_ptp.c | 14 +- drivers/net/phy/phy-core.c | 1 + drivers/net/phy/phy_device.c | 237 ----------------- drivers/net/phy/phy_package.c | 350 ++++++++++++++++++++++++++ drivers/net/phy/phylib-internal.h | 2 + drivers/net/phy/phylib.h | 28 +++ drivers/net/phy/qcom/qca807x.c | 16 +- include/linux/phy.h | 124 --------- 13 files changed, 410 insertions(+), 384 deletions(-) create mode 100644 drivers/net/phy/phy_package.c create mode 100644 drivers/net/phy/phylib.h
Signature · 1 line
2.48.1