]> git.baikalelectronics.ru Git - kernel.git/commit
[netdrvr] forcedeth: setup wake-on-lan before shutting down
authorTobias Diedrich <ranma+kernel@tdiedrich.de>
Sun, 18 May 2008 13:02:37 +0000 (15:02 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 31 May 2008 02:18:49 +0000 (22:18 -0400)
commit29c80d2222dffeb4d5ede492ba9d5155ead5c75b
treeff5c6351b31252903fbf318c283e9686c9a11aeb
parent465c4fe1d73cb5f0f58894aaf0fd39af70b56471
[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 <ranma+kernel@tdiedrich.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/forcedeth.c