kern/83807: [sis] [patch] if_sis: Wake On Lan support for
FreeBSD
Stefan Sperling
stsp at stsp.name
Sun Jun 10 14:46:19 UTC 2007
On Sat, Jun 09, 2007 at 05:07:39PM +0200, Edwin Mons wrote:
> I currently have one -CURRENT machine, and several 6.2-STABLE machines. For
> at least two of them (the -CURRENT and an x86 -STABLE machine) I'd really
> like to have WoL support, as these are my workstation and a home server,
> both of them really do not need to be on all the time, but I want to be able
> to reach them when I need a file from them when I'm elsewhere.
Yes, wake on lan, if used properly, makes computers a bit more
friendly to the environment :-)
> I usually use either if_em or if_xl chipsets, so I hoped landing this code
> in at least -CURRENT (should go there first, I guess) would result in more
> chipsets supported ;)
There is code for enabling wake on lan in the Linux drivers for both
if_xl and if_em cards. See drivers/net/3c59x.c and
drivers/net/e1000/e1000_ethtool.c in the linux source tree.
So I don't think adding support for these cards is a problem.
Just need to find some time to do it...
If anyone has data sheets for these cards I'd like a copy if possible.
By the way if anyone has data sheets for if_vr I'd like a copy as
well please because there is something the Linux driver does that
I do not understand because the code is not obvious enough.
Specifically I need to understand what the hell they mean exactly
by "patterns for WOL".
> > If anyone has a card that does wake on lan after shutdown from Linux
> > but not after shutdown from FreeBSD with my patch applied let me know.
> > You may need to use the ethtool utility to enable WOL on Linux.
>
> I don't run Linux on either machine. Perhaps I could do some tests on my
> workstation with a CD-based linux distribution.
No need to test your cards with Linux since we know now there is code
for this in Linux so it should work anyway.
--
stefan
http://stsp.name PGP Key: 0xF59D25F0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20070610/a843df20/attachment.pgp
More information about the freebsd-hackers
mailing list