]> err.no Git - linux-2.6/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)
commitda4c1ff475d82585e3206f0270cb1ba55bcf3c74
tree1d9c63ce3bd7dd5a0ba297303cfef6055b1a1812
parent7a7b5181517752005fd0dc822176a6975218ec0f
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