tg3: Add AC131 power down support
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 2 Nov 2009 14:26:38 +0000 (14:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Nov 2009 07:39:05 +0000 (23:39 -0800)
commit0e5f784c77197edf29d2770b518dc78777d5a480
tree92b4e99661a56fe9ea324feb39cccda5c01c3bf6
parent788a035e6061a66c6c77059c417fdc6234e140ff
tg3: Add AC131 power down support

The AC131 does not respect the power down bit (bit 11) of the MII
Control Register (reg 0x0).  Instead, software is required to put the
phy into standby power down mode through the shadow register set.  This
patch implements support for the AC131 standby power down mode.

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