diff options
author | Michael Chan <mchan@broadcom.com> | 2006-03-20 17:48:03 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 17:48:03 -0800 |
commit | bc1c756741b065cfebf850e4164c0e2aae9d527f (patch) | |
tree | e462b85564a66b0c4f41e0d9f1ccde7c98ba00a9 /drivers/net/tokenring | |
parent | 4e3a7aaa28db952392814f889dfbd25672266d29 (diff) | |
download | linux-bc1c756741b065cfebf850e4164c0e2aae9d527f.tar.gz linux-bc1c756741b065cfebf850e4164c0e2aae9d527f.tar.bz2 linux-bc1c756741b065cfebf850e4164c0e2aae9d527f.zip |
[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>
Diffstat (limited to 'drivers/net/tokenring')
0 files changed, 0 insertions, 0 deletions