diff options
author | Egil Hjelmeland | 2017-12-29 13:38:24 +0100 |
---|---|---|
committer | David S. Miller | 2018-01-04 13:35:07 -0500 |
commit | 589d197660e529dab0933261b402e079326815f8 (patch) | |
tree | 7331b5e3c7d77f1124e6a29af640a3e11f2ef894 /drivers/net/ethernet/nxp/Makefile | |
parent | b17c6b1f4538b66e9bac6710b57b343c2aafadea (diff) |
net: dsa: lan9303: Adjust phy_addr_base expressions
Simplify calculation of chip->phy_addr_base in lan9303_detect_phy_setup().
Use GENMASK to calculate phys_mii_mask from LAN9303_NUM_PORTS and
phy_addr_base.
Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/nxp/Makefile')
0 files changed, 0 insertions, 0 deletions