kern/83807: [sis] [patch] if_sis: Wake On Lan support for
stsp at stsp.name
Sun Jun 10 14:50:09 UTC 2007
The following reply was made to PR kern/83807; it has been noted by GNATS.
From: Stefan Sperling <stsp at stsp.name>
To: Edwin Mons <freebsd at edwinm.ik.nu>, bug-followup at FreeBSD.org,
freebsd-hackers at FreeBSD.org
Subject: Re: kern/83807: [sis] [patch] if_sis: Wake On Lan support for
Date: Sun, 10 Jun 2007 16:45:04 +0200
Content-Type: text/plain; charset=us-ascii
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. =
> at least two of them (the -CURRENT and an x86 -STABLE machine) I'd reall=
> 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 =
> 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 co=
> in at least -CURRENT (should go there first, I guess) would result in mo=
> 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 m=
> 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.
http://stsp.name PGP Key: 0xF59D25F0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
-----END PGP SIGNATURE-----
More information about the freebsd-bugs