From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 10 14:46:18 2007 Return-Path: X-Original-To: freebsd-hackers@FreeBSD.org Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E4DA216A400; Sun, 10 Jun 2007 14:46:18 +0000 (UTC) (envelope-from stsp@stsp.name) Received: from einhorn.in-berlin.de (einhorn.in-berlin.de [192.109.42.8]) by mx1.freebsd.org (Postfix) with ESMTP id 710E413C48C; Sun, 10 Jun 2007 14:46:18 +0000 (UTC) (envelope-from stsp@stsp.name) X-Envelope-From: stsp@stsp.name Received: from stsp.lan (stsp.in-vpn.de [217.197.85.96]) (authenticated bits=128) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id l5AEk4EC005366 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 10 Jun 2007 16:46:14 +0200 Received: from ted.stsp.lan (localhost [127.0.0.1]) by stsp.lan (8.13.8/8.13.8) with ESMTP id l5AEj6kQ008063; Sun, 10 Jun 2007 16:45:06 +0200 (CEST) (envelope-from stsp@stsp.name) Received: (from stsp@localhost) by ted.stsp.lan (8.13.8/8.13.8/Submit) id l5AEj4Tw008062; Sun, 10 Jun 2007 16:45:04 +0200 (CEST) (envelope-from stsp@stsp.name) X-Authentication-Warning: ted.stsp.lan: stsp set sender to stsp@stsp.name using -f Date: Sun, 10 Jun 2007 16:45:04 +0200 From: Stefan Sperling To: Edwin Mons , bug-followup@FreeBSD.org, freebsd-hackers@FreeBSD.org Message-ID: <20070610144504.GA7129@ted.stsp.lan> Mail-Followup-To: Edwin Mons , bug-followup@FreeBSD.org, freebsd-hackers@freebsd.org References: <466A6DF1.3020306@edwinm.ik.nu> <20070609103848.GA1465@ted.stsp.lan> <466AC23B.4040601@edwinm.ik.nu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: <466AC23B.4040601@edwinm.ik.nu> User-Agent: Mutt/1.5.15 (2007-04-06) X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 Cc: Subject: Re: kern/83807: [sis] [patch] if_sis: Wake On Lan support for FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2007 14:46:19 -0000 --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 > at least two of them (the -CURRENT and an x86 -STABLE machine) I'd reall= y=20 > like to have WoL support, as these are my workstation and a home server,= =20 > both of them really do not need to be on all the time, but I want to be = able=20 > 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= de=20 > in at least -CURRENT (should go there first, I guess) would result in mo= re=20 > 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. >=20 > I don't run Linux on either machine. Perhaps I could do some tests on m= y=20 > 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. --=20 stefan http://stsp.name PGP Key: 0xF59D25F0 --dDRMvlgZJXvWKvBx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGbA5w5dMCc/WdJfARAsfRAKCAN99RWTQfOU94AG7q8DYcOkt40wCgxZmR gYO8dLu+kqvBDI3IQCpGg6E= =hPO/ -----END PGP SIGNATURE----- --dDRMvlgZJXvWKvBx--