From: Michael Chan Date: Tue, 21 Mar 2006 01:48:03 +0000 (-0800) Subject: [TG3]: Support shutdown WoL. X-Git-Tag: v2.6.17-rc1~1175^2~183 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc1c756741b065cfebf850e4164c0e2aae9d527f;p=pandora-kernel.git [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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed