netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: phy: add macros for PHYID matching in PHY driver config
@ 2018-11-09 23:37 Heiner Kallweit
  2018-11-09 23:39 ` [PATCH net-next 1/2] net: phy: add macros for PHYID matching Heiner Kallweit
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Heiner Kallweit @ 2018-11-09 23:37 UTC (permalink / raw)
  To: Andrew Lunn, Florian Fainelli, David Miller; +Cc: netdev@vger.kernel.org

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(-)

-- 
2.19.1

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-11-12  3:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-09 23:37 [PATCH net-next 0/2] net: phy: add macros for PHYID matching in PHY driver config Heiner Kallweit
2018-11-09 23:39 ` [PATCH net-next 1/2] net: phy: add macros for PHYID matching Heiner Kallweit
2018-11-09 23:40 ` [PATCH net-next 2/2] net: phy: realtek: use new PHYID matching macros Heiner Kallweit
2018-11-11 17:44 ` [PATCH net-next 0/2] net: phy: add macros for PHYID matching in PHY driver config David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).