]> git.baikalelectronics.ru Git - kernel.git/commit
sky2: flow control negotiation for Yukon-FE
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 16 Feb 2007 00:40:32 +0000 (16:40 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 17 Feb 2007 20:30:47 +0000 (15:30 -0500)
commit3f4ec26650dfa52954a47f03e0e7a8ba9e25c53d
tree1d9c63ce3bd7dd5a0ba297303cfef6055b1a1812
parentdda4d1055d21b9fc495ee7bc1223ddc73a80c187
sky2: flow control negotiation for Yukon-FE

The Yukon-FE chip doesn't do gigabit and has a differen PHY internally.
On this chip, phy status register doesn't properly reflect the result
of flow control negotiation. To workaround the problem and avoid having
to have so much chip dependent code; compute the result of flow control
by looking at the local and remote advertised bits.

Signed-off-by: Stephen Hemmminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c