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)
commitc029f4440fd3f0dcc6923f917536fd62d6ef5d1d
treef72ecd1a5d1e20ae6128fea41dcdfa6a54926671
parentf9254edaabfc48f5a28bb5a88c6db48704cc058d
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