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)
commit5f8ae5c537d937bab9cfeb83a30a9b670c3cfb35
treeb40d8ce68c520bc2bef3213e20292aa3d0b45ac4
parent8b05543129a5f216e08625e947a16b844bc4766d
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