On Jun 24, 2009, at 11:30 AM, Anton Vorontsov wrote:

Linux isn't able to detect link changes on ethernet ports that were
used by U-Boot. This is because U-Boot wrongly clears interrupt
polarity bit (INTPOL, 0x400) in the extended status register (EXT_SR,
0x1b) of Marvell PHYs.

There is no easy way for PHY drivers to know IRQ line polarity (we
could extract it from the device tree and pass it to phydevs, but
that'll be quite a lot of work), so for now just reset the PHYs to
their default states.

Signed-off-by: Anton Vorontsov <avoront...@ru.mvista.com>
---
arch/powerpc/platforms/85xx/mpc85xx_mds.c |   13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)

applied to merge

- k
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to