netdev
[Top] [All Lists]

Re: [PATCH] WOL for sis900

To: NetDev <netdev@xxxxxxxxxxx>
Subject: Re: [PATCH] WOL for sis900
From: Daniele Venzano <webvenza@xxxxxxxxx>
Date: Sat, 30 Oct 2004 21:00:01 +0200
Cc: Malte Schröder <MalteSch@xxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxx>
In-reply-to: <4183BDB3.8000302@xxxxxxxxx>
Mail-followup-to: NetDev <netdev@xxxxxxxxxxx>, Malte Schröder <MalteSch@xxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxx>
References: <4183B6B0.7010906@xxxxxx> <4183BDB3.8000302@xxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040722i
On Sat, Oct 30, 2004 at 12:13:39PM -0400, Jeff Garzik wrote:
> Malte Schröder wrote:
> >Hello,
> >I have applied the patch from http://lkml.org/lkml/2003/7/16/88 manually 
> >to 2.6.7 (also works on 2.6.{8,9}) and have been using it since then.
> >Attached is a diff against 2.6.9.
> 
> 2) Please use ethtool to enable/disable WOL.  No need for a module option.

Attached is a first try at this wol via ethtool thing. I don't think to
have got it right, but here it is.

I tried to test WoL on my laptop, obvioulsy it didn't work, but I don't
even know if I have the hardware support for it.
On this page:
http://www.sis.com/products/connectivity/900.htm
it says that the magic packet feature is optional.

I would really like to have some way to check if WoL is supported by the
hardware before thinking to include this. I didn't find any
documentation of some use for this.

Finally, I have never realized the sorry state of sis900 wrt ethtool,
I'll try to get some more support...

The attached patch is against clean 2.6.9 and is NOT for inclusion.

-- 
------------------------------
Daniele Venzano
Web: http://teg.homeunix.org

Attachment: sis900_wol_ethtool.diff
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>