aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorManfred Spraul <manfred@colorfullife.com>2005-08-06 23:47:55 +0200
committerJeff Garzik <jgarzik@pobox.com>2005-08-19 02:12:16 -0400
commit1b1b3c9b6d346d441a99e2de0b34f3ba93963ad8 (patch)
treee140e27b52b70ecad6c79c46ed7653b2c7002283 /net
parentMerge /spare/repo/linux-2.6/ (diff)
downloadlinux-dev-1b1b3c9b6d346d441a99e2de0b34f3ba93963ad8.tar.xz
linux-dev-1b1b3c9b6d346d441a99e2de0b34f3ba93963ad8.zip
[PATCH] forcedeth: Initialize link settings in every nv_open()
Rüdiger found a bug in nv_open that explains some of the reports with duplex mismatches: nv_open calls nv_update_link_speed for initializing the hardware link speed registers. If current link setting matches the values in np->linkspeed and np->duplex, then the function does nothing. Usually, doing nothing is the right thing, but not in nv_open: During nv_open, the registers must be initialized because the nic was reset. The attached patch fixes that by setting np->linkspeed to an invalid value before calling nv_update_link_speed from nv_open. Signed-Off-By: Manfred Spraul <manfred@colorfullife.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions