ip17xx: Avoid auto-negotiation
authorGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:47 +0000 (20:18 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 8 Jun 2010 20:18:47 +0000 (20:18 +0000)
commitd48ba78aa49bb20e27cf3bc6bf3c4f9a57d194b3
tree3844dc7f16e87652e6a0da1cd65641645338fcc0
parenta7301c57a4fc20a783e481ec2f8523da118acc45
ip17xx: Avoid auto-negotiation

Let ip175c_config_init() initialize the link state of the PHY and set the
PHY state machine directly to the PHY_RUNNING state in order to skip the
auto-negotiation phase.

Previously, auto-negotiation on PHY 0 (switch port 0) influenced the ethernet
driver connected to the CPU port, causing all sorts of weird effects.

Signed-off-by: Martin Mares <mj@ucw.cz>
Signed-off-by: Patrick Horn <patrick.horn@gmail.com>
SVN-Revision: 21720
target/linux/generic-2.6/files/drivers/net/phy/ip175c.c