diff options
author | Andrew Lunn <andrew@lunn.ch> | 2016-01-28 02:30:29 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-28 22:53:16 -0800 |
commit | ae461131960b27d4be158d62a89d40977388d7a1 (patch) | |
tree | e3a1824525a42cc2e907e42151985191f104c923 /Documentation | |
parent | a77ce1bc12d6e0c03e9cc5683bb657ae2f2bb9b5 (diff) | |
download | linux-ae461131960b27d4be158d62a89d40977388d7a1.tar.bz2 |
of: of_mdio: Add a whitelist of PHY compatibilities.
Some phy nodes list a compatible value indicating the PHY make/model.
This is never used to match the device to the driver. However it does
confuse the code to separate a PHY from a generic MDIO device like a
switch. Generic MDIO devices must have a compatible value, PHYs can
list clause 22 or 45, but nothing else.
Issue a warning if we find a compatible value known on the whitelist,
and say it is a PHY.
Fixes: a9049e0c513c ("mdio: Add support for mdio drivers.")
Reported-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Reported-by: Olof Johansson <olof@lixom.net>
Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions