diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-02-03 21:19:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-03 23:31:04 +0100 |
commit | 278f6b674f9a2b4cff73c0c8d76fc696e28e8884 (patch) | |
tree | e609b5cdce7e9d0ae8a2fe4da388c30ed67a6087 /samples | |
parent | net: phy: aquantia: use macro PHY_ID_MATCH_MODEL (diff) | |
download | linux-278f6b674f9a2b4cff73c0c8d76fc696e28e8884.tar.xz linux-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 <andrew@lunn.ch>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions