Skip to content

net: phy: add macros for PHYID matching in PHY driver config

Heiner Kallweit netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: phy: add macros for PHYID matchinginclude/linux/phy.h+4 -00 replies
2/2net: phy: realtek: use new PHYID matching macrosdrivers/net/phy/realtek.c+10 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] net: phy: add macros for PHYID matching in PHY driver config

Add macros for PHYID matching to be used in PHY driver configs. By using these macros some boilerplate code can be avoided.

Use them initially in the Realtek PHY drivers.

Heiner Kallweit (2):
net: phy: add macros for PHYID matching
net: phy: realtek: use new PHYID matching macros

 drivers/net/phy/realtek.c | 29 ++++++++++-------------------
 include/linux/phy.h       |  4 ++++
 2 files changed, 14 insertions(+), 19 deletions(-)
Signature · 1 line
2.19.1