[TG3]: Fix tg3_set_power_state()
authorMichael Chan <mchan@broadcom.com>
Fri, 22 Apr 2005 00:09:08 +0000 (17:09 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Apr 2005 00:09:08 +0000 (17:09 -0700)
commit8c6bda1a89c148f3a28edc09a76dac9bff57d8ee
tree883fa60cf8087f720e8c810ba29ba034a1de0f48
parent314fba348e1f64a30b53d3cff5d96872424e8498
[TG3]: Fix tg3_set_power_state()

Fix tg3_set_power_state to drive GPIOs properly based on the
TG3_FLAG_EEPROM_WRITE_PROTECT flag. Some delays are also added after D0
and D3 power state changes.

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