From owner-freebsd-current@FreeBSD.ORG Tue Jan 29 20:14:32 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7BDC16A41B for ; Tue, 29 Jan 2008 20:14:32 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay09.ispgateway.de (smtprelay09.ispgateway.de [80.67.29.23]) by mx1.freebsd.org (Postfix) with ESMTP id 991A013C4D9 for ; Tue, 29 Jan 2008 20:14:32 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [217.50.166.185] (helo=localhost) by smtprelay09.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JJwqk-0003Gy-7F; Tue, 29 Jan 2008 21:14:30 +0100 Date: Tue, 29 Jan 2008 21:14:25 +0100 From: Fabian Keil To: Pyun YongHyeon Message-ID: <20080129211425.69fb66a3@fabiankeil.de> In-Reply-To: <20080122051604.GC10560@cdnetworks.co.kr> References: <20080122051604.GC10560@cdnetworks.co.kr> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; i386-portbld-freebsd7.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/9_459t.g679bQ1I0vPKYxp."; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Df-Sender: 775067 Cc: freebsd-current@FreeBSD.org Subject: Re: CFT: re(4) WOL support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2008 20:14:32 -0000 --Sig_/9_459t.g679bQ1I0vPKYxp. Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Pyun YongHyeon wrote: > Attached patch enables WOL capability on re(4). Since there are too > many variants of hardwares that uses re(4), I'd like to hear > success/failure report of the patch prior to commit. You can wake > the system in suspend state as well as power down state. Because > suspend/resume does not work on my box I don't know whether waking > up from suspend work. WOL packets can be greated with tools like > ports/net/wol. Suspending doesn't work on my system either, but I successfully tested wake-up from power-down state with: fk@africanqueen ~ $pciconf -lv | grep -A 4 re0 re0@pci0:0:9:0: class=3D0x020000 card=3D0x816910ec chip=3D0x816910ec rev=3D= 0x10 hdr=3D0x00 vendor =3D 'Realtek Semiconductor' device =3D 'RTL8110SB Single-Chip Gigabit LOM Ethernet Controller' class =3D network subclass =3D ethernet fk@africanqueen ~ $ifconfig re0 re0: flags=3D8943 metric 0 = mtu 1500 options=3D399b ether [...] inet 192.168.5.48 netmask 0xffffff00 broadcast 192.168.5.255 media: Ethernet autoselect (1000baseTX ) status: active I didn't notice any regressions. Thanks for all the effort you put into re(4), much appreciated. Fabian --Sig_/9_459t.g679bQ1I0vPKYxp. Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHn4khBYqIVf93VJ0RAsBTAJwKhoVXO7zR67UsEEKaSKsk9YJsKgCfeaHe hBe4lu0tvwe+x2lUh2gtUcI= =Lhdt -----END PGP SIGNATURE----- --Sig_/9_459t.g679bQ1I0vPKYxp.--