diff options
author | Clemens Gruber <clemens.gruber@pqgruber.com> | 2020-02-24 20:52:20 +0100 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2020-03-09 18:11:25 -0500 |
commit | 1c1f4f0a4b6a0796160e50b67f84b73f435a334b (patch) | |
tree | 288ce9e167ef19faf3e3c1de6194a1dea6a507f6 /drivers/net/ldpaa_eth/ldpaa_eth.c | |
parent | 2bcc43b39b95447e8e137df78a1d39ede764caca (diff) |
net: phy: marvell: Unify 88E151x series phy_driver
The PHY models of the Marvell 88E151x series are not reliably
distinguishable by their uid / PHY identifiers.
The 88E1510, 88E1512, 88E1514 and 88E1518 all have the same OUI and
model number and bits 3:0 in the PHY Identifier 2 (Page 0, Reg 3) are
described as HW revision number, but both 88E1510 and 88E1518 PHYs were
observed with the same HW rev number (1).
Before commit 83cfbeb0df9f ("net: phy: Fix mask so that we can identify
Marvell 88E1518"), the 88E151x were detected because the HW revision
bits were masked from the uid. After that change, 88E1510/12/18 were all
detected as 88E1518 and the 88E1510 specific code was no longer run.
I modified the mask to again ignore all four HW revision bits, removed
the 88E1510 specific code (board-specific LED/INTn setup), which was not
called since late 2016 anyway and renamed the config function and
phy_driver struct to the better fitting 88e151x.
The uid and mask bits 3:0 are now again the same as in the Linux kernel.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Diffstat (limited to 'drivers/net/ldpaa_eth/ldpaa_eth.c')
0 files changed, 0 insertions, 0 deletions