]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[TG3]: Fix suspend and resume
authorMichael Chan <mchan@broadcom.com>
Wed, 14 Dec 2005 05:08:58 +0000 (21:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Dec 2005 05:08:58 +0000 (21:08 -0800)
commit6a9eba15f51c56da637e45ea1316eaa2a848986a
treefb18f2580e6aaa2c14c042b51e80bc8eb6b9806b
parent381291b7d3e17ac966498312dc571dcca1b93efc
[TG3]: Fix suspend and resume

Fix tg3_suspend() and tg3_resume() by clearing and setting the
TG3_FLAG_INIT_COMPLETE flag when appropriate. tg3_set_power_state()
looks at TG3_FLAG_INIT_COMPLETE on the peer device to determine
when to appropriately switch to aux power.

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