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)
commitfeb797e78f0db81b3b3ab0c610e383ed075764ba
tree92a5d2c7ad709d6370640ea342564fa8412aae80
parent5dc8c4e80ddfeb72dafc8025fe9902704a17be70
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