]> git.baikalelectronics.ru Git - kernel.git/commit
[TG3]: Fix low power state
authorMichael Chan <mchan@broadcom.com>
Wed, 14 Dec 2005 05:15:53 +0000 (21:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Dec 2005 05:15:53 +0000 (21:15 -0800)
commitcdd5038c0f815bdcc0bfbe0ce44f2ea17f4cf111
treecef66b131fd1cb980d209c5ecb590a0783fdf985
parent74bd60060fac2929ca6f1a360c0310babeaae770
[TG3]: Fix low power state

Fix the following bugs in tg3_set_power_state():

1. Both WOL and ASF flags require switching to aux power.

2. Add a missing handshake with firmware to enable WOL.

3. Turn off the PHY if both WOL and ASF are disabled.

4. Add nvram arbitration before halting the firmware.

5. Fix tg3_setup_copper_phy() to switch to 100Mbps when
   changing to low power state.

Update revision and date.

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