Thread (3 messages) 3 messages, 2 authors, 2009-07-30

Re: [PATCH] powerpc/85xx: Fix ethernet link detection on MPC8569E-MDS boards

From: Kumar Gala <hidden>
Date: 2009-07-30 04:14:39

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 <redacted>
---
arch/powerpc/platforms/85xx/mpc85xx_mds.c |   13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
applied to merge

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help