]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: Fix 5906 link problems
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 25 Feb 2009 14:21:20 +0000 (14:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Mar 2009 23:08:19 +0000 (15:08 -0800)
commit1f8b17d8a4ee9f92e8a3455a5be2b79a3fec718b
tree26519ff5710b58f9ed49f329f7cae4630b94cc5d
parent5c3b02b5e18208c9d6fc617324868acb028e194b
tg3: Fix 5906 link problems

Commit 1183bef10fa5f82397e78e83c3dd1c590699887b introduced the phy
auto-powerdown capability.  While the APD feature only works for 5761
and 5784 asic revisions, the (harmless portion of the) code was applied
to all 5705 and newer devices.  However, the 5906 phy departs from the
usual design.  This commit was interfering with the 5906's ability to
negotiate link against some switches.  This patch corrects the problem.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c