diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-06-24 20:30:28 +0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-07-30 08:14:18 +0400 |
commit | c4673f9a32d7b02bcd2057763d3d368efe5809c3 (patch) | |
tree | b314ef84f8f28d7ec7d24aa23dfd9c6804ee51e3 /arch/powerpc/boot | |
parent | 5156ddce6c0a152ee7ccab2c976c6a8abc8a49b5 (diff) | |
download | linux-c4673f9a32d7b02bcd2057763d3d368efe5809c3.tar.xz |
powerpc/85xx: Fix ethernet link detection on MPC8569E-MDS boards
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 <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot')
0 files changed, 0 insertions, 0 deletions