commit | bc1c756741b065cfebf850e4164c0e2aae9d527f | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Mon Mar 20 17:48:03 2006 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 20 17:48:03 2006 -0800 |
tree | e462b85564a66b0c4f41e0d9f1ccde7c98ba00a9 | |
parent | 4e3a7aaa28db952392814f889dfbd25672266d29 [diff] |
[TG3]: Support shutdown WoL. Support WoL during shutdown by calling tg3_set_power_state(tp, PCI_D3hot) during tg3_close(). Change the power state parameter to pci_power_t type and use constants defined in pci.h. Certain ethtool operations cannot be performed after tg3_close() because the device will go to low power state. Add return -EAGAIN in such cases where appropriate. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>