diff options
author | Yinghai Lu <[email protected]> | 2008-09-13 13:10:31 -0700 |
---|---|---|
committer | Jeff Garzik <[email protected]> | 2008-09-18 21:38:44 -0400 |
commit | f55c21fd9a92a444e55ad1ca4e4732d56661bf2e (patch) | |
tree | a3dbca7a83588a3a89a0c88f28ae4bcd38964430 /net/unix/sysctl_net_unix.c | |
parent | 27ed9ddfde8d2967076c51815e4ce297c4a18139 (diff) |
forcedeth: call restore mac addr in nv_shutdown path
after
| commit f735a2a1a4f2a0f5cd823ce323e82675990469e2
| Author: Tobias Diedrich <[email protected]>
| Date: Sun May 18 15:02:37 2008 +0200
|
| [netdrvr] forcedeth: setup wake-on-lan before shutting down
|
| When hibernating in 'shutdown' mode, after saving the image the suspend hook
| is not called again.
| However, if the device is in promiscous mode, wake-on-lan will not work.
| This adds a shutdown hook to setup wake-on-lan before the final shutdown.
|
| Signed-off-by: Tobias Diedrich <[email protected]>
| Signed-off-by: Jeff Garzik <[email protected]>
my servers with nvidia ck804 and mcp55 will reverse mac address with kexec.
it turns out that we need to restore the mac addr in nv_shutdown().
[[email protected]: fix typo in printk]
Signed-off-by: Yinghai Lu <[email protected]>
Cc: Tobias Diedrich <[email protected]>
Cc: Ayaz Abdulla <[email protected]>
Cc: Jeff Garzik <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions