]> git.baikalelectronics.ru Git - kernel.git/commit
[TG3]: 5784 / 5764 GPHY power down fix
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 13 Nov 2007 05:08:03 +0000 (21:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Nov 2007 05:08:03 +0000 (21:08 -0800)
commit99d56c8c980e461543f1017d1d7ac9a48aba51e7
tree6438c33bcdde387ab191912e970b2fb65696b0a0
parent7fa0d07bdfa520426321bcde8643a6f382225ec7
[TG3]: 5784 / 5764 GPHY power down fix

5784 and 5764 devices fail to link / pass traffic after one load /
unload cycle.  This happens because of a hardware bug in the new CPMU.
During normal operation, the MAC depends on the PHY clock being
available.  When the PHY is powered down, the clock the MAC depends on
is disabled.  The fix is to switch the MAC clock to an alternate source
before powering down the PHY, and to restore the MAC clock to the PHY
source upon device resume.

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