]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] TG3: Fix link problem on Dell's onboard 5906.
authorMichael Chan <mchan@broadcom.com>
Tue, 5 Jun 2007 18:34:20 +0000 (11:34 -0700)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Jun 2007 18:36:49 +0000 (11:36 -0700)
commitce6ea86f71e02e0ae421475d3b03eda9fb7088cd
tree4eab42dea599cad2110ecf5ca7e5fe866242804b
parent402d9a26212b35e21196a7edfc041c9d327d14f1
[PATCH] TG3: Fix link problem on Dell's onboard 5906.

The bug is caused by code that always set
(TG3_FLAG_USE_MI_INTERRUPT | TG3_FLAG_USE_LINKCHG_REG) on all Dell's
onboard devices.  With these 2 flags set, the link status is polled
by tg3_timer() and will only work when the PHY is set up to interrupt
the MAC on link changes.  This breaks 5906 because the 5906 PHY does
not support TG3_FLAG_USE_MI_INTERRUPT the same as other PHYs.

For correctness, only 5701 on Dell systems needs these 2 flags to be
set.  This change will fix the 5906 problem and will change other
Dell devices except 5700 and 5701 to use the more efficient
interrupt-driven link changes.

Update version to 3.75.2.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/tg3.c