https://github.com/torvalds/linux
Revision c4673f9a32d7b02bcd2057763d3d368efe5809c3 authored by Anton Vorontsov on 24 June 2009, 16:30:28 UTC, committed by Kumar Gala on 30 July 2009, 04:14:18 UTC
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>
1 parent 5156ddc
History
Tip revision: c4673f9a32d7b02bcd2057763d3d368efe5809c3 authored by Anton Vorontsov on 24 June 2009, 16:30:28 UTC
powerpc/85xx: Fix ethernet link detection on MPC8569E-MDS boards
Tip revision: c4673f9
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 952 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.7 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 149.3 KB
Makefile -rw-r--r-- 53.9 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top