https://github.com/torvalds/linux
Revision 911b237d7d327db5371a762f4d8d8cd9ea763662 authored by Benjamin Herrenschmidt on 05 December 2007, 00:14:27 UTC, committed by Jeff Garzik on 07 December 2007, 20:09:05 UTC
With some PHYs, when the link goes away, the EMAC reset fails due
to the loss of the RX clock I believe.

The old EMAC driver worked around that using some internal chip-specific
clock force bits that are different on various 44x implementations.

This is an attempt at doing it differently, by avoiding the reset when
there is no link, but forcing loopback mode instead. It seems to work
on my Taishan 440GX based board so far.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
1 parent 9685306
History
Tip revision: 911b237d7d327db5371a762f4d8d8cd9ea763662 authored by Benjamin Herrenschmidt on 05 December 2007, 00:14:27 UTC
ibm_newemac: Workaround reset timeout when no link
Tip revision: 911b237
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
.gitignore -rw-r--r-- 628 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.1 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 91.6 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top