diff options
author | Sylvain Rochet <sylvain.rochet@finsecur.com> | 2015-02-13 21:35:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-14 20:30:55 -0800 |
commit | 2b0ba96cea6066d2543066fa524120b384f3bd6b (patch) | |
tree | b6f8ac9fb6c223c763e82887f19d02110aae6872 /net | |
parent | 3b4711757d7903ab6fa88a9e7ab8901b8227da60 (diff) | |
download | lwn-2b0ba96cea6066d2543066fa524120b384f3bd6b.tar.gz lwn-2b0ba96cea6066d2543066fa524120b384f3bd6b.zip |
net: phy: micrel: disable NAND-tree for KSZ8021, KSZ8031, KSZ8051, KSZ8081
NAND-tree is used to check wiring between MAC and PHY using NAND gates
on the PHY side, hence the name.
NAND-tree initial status is latched at reset by probing the IRQ pin.
However some devices are sharing the PHY IRQ pin with other peripherals
such as Atmel SAMA5D[34]x-EK boards when using the optional TM7000
display module, therefore they are switching the PHY in NAND-tree test
mode depending on the current IRQ line status at reset.
This patch ensure PHY is not in NAND-tree test mode for all Micrel PHYs
using IRQ line as a NAND-tree toggle mode at reset.
Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions