OSDN Git Service

net: phy: Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet phy
authorFrank Sae <Frank.Sae@motor-comm.com>
Thu, 2 Feb 2023 03:00:34 +0000 (11:00 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2023 09:34:50 +0000 (09:34 +0000)
commit4869a146cd60fc8115230f0a45e15e534c531922
tree6525bc08cc41a84501715d189efd018f8307e375
parentcf08dfe8ae7e32e33eb16e6001f45f940cecbfac
net: phy: Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet phy

Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet phy.
 This is a preparatory patch. Add BIT macro for 0xA012 reg, and
 supplement for 0xA001 and 0xA003 reg. These will be used to support dts.

Signed-off-by: Frank Sae <Frank.Sae@motor-comm.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/motorcomm.c