[PATCH] sky2: speed setting fix
authorStephen Hemminger <shemminger@osdl.org>
Fri, 10 Feb 2006 23:58:59 +0000 (15:58 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 17 Feb 2006 21:16:21 +0000 (16:16 -0500)
commit6f4c56b2ae10b680be518cc99f5308fc59236db2
treee9e64b3392a99fc6f4abd72428176f8100805af5
parent564f9abb34c936e5d0c7682129042dad14dbbb95
[PATCH] sky2: speed setting fix

Users report problems w/ auto-negotiation disabled and the link set
to 100/Half or 10/Half.  Problems range from poor performance to no
link at all.

The current sky2 code does not set things properly on link up if
autonegotiation is disabled.  Plus it does not contemplate a 10Mbit
setting at all.  This patch corrects that.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/sky2.c