]> git.baikalelectronics.ru Git - kernel.git/commit
DM9000: Wake on LAN support
authorBen Dooks <ben@simtec.co.uk>
Tue, 10 Nov 2009 07:22:24 +0000 (07:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Nov 2009 03:22:21 +0000 (19:22 -0800)
commitfa4f3f24e8cf269f4d3c2b8835a7b5e3fda31d87
treef72ecd1a5d1e20ae6128fea41dcdfa6a54926671
parent116f00bf0ad2276e00744f1accb1f265f9d2bffa
DM9000: Wake on LAN support

Add support for Wake on LAN (WOL) reception and waking the device up from
this signal via the ethtool interface. Currently we are only supporting
the magic-packet variant of wakeup.

WOL is enabled by specifying a second interrupt resource to the driver
which indicates where the interrupt for the WOL is being signalled. This
then enables the necessary ethtool calls to leave the device in a state
to receive WOL frames when going into suspend.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Linux Team <linux@simtec.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dm9000.c
drivers/net/dm9000.h