]> git.baikalelectronics.ru Git - kernel.git/commit
sky2: WoL changes
authorstephen hemminger <shemminger@vyatta.com>
Fri, 12 Feb 2010 06:57:59 +0000 (06:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2010 00:21:00 +0000 (16:21 -0800)
commit1befa4687f6d45a23429b326a58d020f9f491e3d
treeb40d8ce68c520bc2bef3213e20292aa3d0b45ac4
parentd94d24423acf8e981886f96b6016dc6224ceeee6
sky2: WoL changes

Change Wake On Lan code to be similar to vendor driver. The definition
of Y2_HW_WOL_ON is confusing; what it means is transition to firmware SPI
setting when doing power change.

Since same code is done for both shutdown and suspend, use common
code path.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c