aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2019-02-03 20:19:06 +0000
committerDavid S. Miller <[email protected]>2019-02-03 22:31:04 +0000
commit278f6b674f9a2b4cff73c0c8d76fc696e28e8884 (patch)
treee609b5cdce7e9d0ae8a2fe4da388c30ed67a6087 /drivers/net/dsa/dsa_loop.c
parentnet: phy: aquantia: use macro PHY_ID_MATCH_MODEL (diff)
downloadkernel-278f6b674f9a2b4cff73c0c8d76fc696e28e8884.tar.gz
kernel-278f6b674f9a2b4cff73c0c8d76fc696e28e8884.zip
net: phy: aquantia: replace magic numbers with constants
Replace magic numbers with proper constants. The original patch is from Andrew, I extended / adjusted certain parts: - Use decimal bit numbers. The datasheet uses hex bit numbers 0 .. F. - Order defines from highest to lowest bit numbers - correct some typos - add constant MDIO_AN_TX_VEND_INT_MASK2_LINK - Remove few functional improvements from the patch, they will come as a separate patch. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: Heiner Kallweit <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions