lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 24 Jun 2009 17:37:27 -0700 From: Brandon Philips <brandon@...p.org> To: jcliburn@...il.com, csnook@...hat.com, jie.yang@...eros.com, rjw@...k.pl Cc: netdev@...r.kernel.org Subject: Re: [PATCH] atl1*: add device_set_wakeup_enable to atl1*_set_wol BTW, Chris Snook's email address bounced. Can someone with a newer address update MAINTAINERS? On 17:09 Wed 24 Jun 2009, Brandon Philips wrote: > Tell PCI core that atl1* device can wakeup the system when WOL is > enabled by calling device_set_wakeup_enable. > > Joerg noted that his atl1e device WOL fine after enabling it with > ethtool and changing /sys/class/net/eth0/device/power/wakeup to enabled > Tested on atl1e: https://bugzilla.novell.com/show_bug.cgi?id=493214 > > Tested by: Joerg Reuter <jreuter@...ell.com> > Signed-off-by: Brandon Philips <bphilips@...e.de> > > --- > drivers/net/atl1c/atl1c_ethtool.c | 2 ++ > drivers/net/atl1e/atl1e_ethtool.c | 2 ++ > 2 files changed, 4 insertions(+) > > Index: linux-2.6/drivers/net/atl1e/atl1e_ethtool.c > =================================================================== > --- linux-2.6.orig/drivers/net/atl1e/atl1e_ethtool.c > +++ linux-2.6/drivers/net/atl1e/atl1e_ethtool.c > @@ -365,6 +365,8 @@ static int atl1e_set_wol(struct net_devi > if (wol->wolopts & WAKE_PHY) > adapter->wol |= AT_WUFC_LNKC; > > + device_set_wakeup_enable(&adapter->pdev->dev, adapter->wol); > + > return 0; > } > > Index: linux-2.6/drivers/net/atl1c/atl1c_ethtool.c > =================================================================== > --- linux-2.6.orig/drivers/net/atl1c/atl1c_ethtool.c > +++ linux-2.6/drivers/net/atl1c/atl1c_ethtool.c > @@ -281,6 +281,8 @@ static int atl1c_set_wol(struct net_devi > if (wol->wolopts & WAKE_PHY) > adapter->wol |= AT_WUFC_LNKC; > > + device_set_wakeup_enable(&adapter->pdev->dev, adapter->wol); > + > return 0; > } > -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists