OSDN Git Service

smsc95xx: add wol magic packet support
authorSteve Glendinning <steve.glendinning@shawell.net>
Fri, 28 Sep 2012 00:07:12 +0000 (00:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Sep 2012 22:34:58 +0000 (18:34 -0400)
commite0e474a83c18f134e42c4845e19d0ef0751f43f0
treec62d08a0812b975954f3e519b56a0aad4aa0792e
parentb5a044758672b6dc775fdab007337b47a54576f4
smsc95xx: add wol magic packet support

This patch enables wake from system suspend on magic packet.

Patch updated to replace BUG_ON with WARN_ON_ONCE and return.

Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c
drivers/net/usb/smsc95xx.h