From owner-freebsd-current@FreeBSD.ORG Wed Jan 30 01:11:35 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 4247316A418 for ; Wed, 30 Jan 2008 01:11:35 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0958913C457 for ; Wed, 30 Jan 2008 01:11:34 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so65491waf.3 for ; Tue, 29 Jan 2008 17:11:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=pfdbPMpfk0HErBPutt+G6r1VWeTKtzyNegsaSEp+0/U=; b=Ocu/umL41dPu+NtP5FyAcQJJssPjCnsCczHw4MHJZ//2UkgubMNmbphXHAL0I3bqAJPb0c6n+KAD3wF2mFjaFBzECeRYIGNlEsEOPNTqpIQTOiQEVes8yfMHx2VxxhzQqz9YaMbUaBHUfmuley+bfDUy9sHrSdjkZvDvGAxHFyM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=UVHLuOqPA7sBkzr9fIWO9KZosjso2FPJyx9+BFKFjXXlDL9nZ3wbH5f//GMuy6AuopAPpd9M+PdY3SBaA/kmur8u9XD9CPPxdKtKDNkaZOUgCsOkwkqFc0O3BH5cusko5zrWIqYixkXWyLPF7CXXgb8vqOAx5ic2sATNoLHKBCI= Received: by 10.114.148.1 with SMTP id v1mr149847wad.21.1201655494491; Tue, 29 Jan 2008 17:11:34 -0800 (PST) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id l23sm251386waf.5.2008.01.29.17.11.28 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 Jan 2008 17:11:32 -0800 (PST) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id m0U1BKIv005399 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 30 Jan 2008 10:11:20 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m0U1BI1b005398; Wed, 30 Jan 2008 10:11:18 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Wed, 30 Jan 2008 10:11:18 +0900 From: Pyun YongHyeon To: Fabian Keil Message-ID: <20080130011118.GB5065@cdnetworks.co.kr> References: <20080122051604.GC10560@cdnetworks.co.kr> <20080129211425.69fb66a3@fabiankeil.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080129211425.69fb66a3@fabiankeil.de> User-Agent: Mutt/1.4.2.1i 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 Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2008 01:11:35 -0000 On Tue, Jan 29, 2008 at 09:14:25PM +0100, Fabian Keil wrote: > 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=0x020000 card=0x816910ec chip=0x816910ec rev=0x10 hdr=0x00 > vendor = 'Realtek Semiconductor' > device = 'RTL8110SB Single-Chip Gigabit LOM Ethernet Controller' > class = network > subclass = ethernet > > fk@africanqueen ~ $ifconfig re0 > re0: flags=8943 metric 0 mtu 1500 > options=399b > 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. > Thanks for your testing! > Fabian -- Regards, Pyun YongHyeon