]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/net/tg3.c
[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)
commit6921d201f77e14848df2eaa597e26525f468abea
treecef66b131fd1cb980d209c5ecb590a0783fdf985
parent16fe9d74f14ed74af778c5db7f9129e29916f4a7
[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