From owner-freebsd-current@FreeBSD.ORG Sat Aug 12 01:40:56 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B2D316A4DF for ; Sat, 12 Aug 2006 01:40:56 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5A0343D46 for ; Sat, 12 Aug 2006 01:40:55 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so43740pyc for ; Fri, 11 Aug 2006 18:40:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=DwDX/khvwgGlLOIfFDgyb10OseRFpnIUGAw6ANID2tVbfTZ8r8krjqLd4ljl2LCQ+mXGo7IB6YiDE5iN/Os018+R+PU9IzyF9oUxrM03p0W7s3cldK1ijn+YsxgqMzc5DrcuByMihvTTr3bBqby5poisTMiWVW6OO0jG6j8pZC4= Received: by 10.35.26.14 with SMTP id d14mr7396044pyj; Fri, 11 Aug 2006 18:40:55 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.gmail.com with ESMTP id 15sm1996587nzp.2006.08.11.18.40.53; Fri, 11 Aug 2006 18:40:54 -0700 (PDT) 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 k7C1ftH6028157 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 12 Aug 2006 10:41:55 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id k7C1fskp028156; Sat, 12 Aug 2006 10:41:54 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Sat, 12 Aug 2006 10:41:54 +0900 From: Pyun YongHyeon To: Jelte Jansen Message-ID: <20060812014154.GA27626@cdnetworks.co.kr> References: <44D84620.9020800@NLnetLabs.nl> <20060810093018.GB17452@cdnetworks.co.kr> <44DB22A0.7030207@NLnetLabs.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44DB22A0.7030207@NLnetLabs.nl> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: re(4) link goes down when manually setting media type 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: Sat, 12 Aug 2006 01:40:56 -0000 On Thu, Aug 10, 2006 at 02:12:16PM +0200, Jelte Jansen wrote: > Pyun YongHyeon wrote: > > > > although with apparently random performance problems. When i try to set > > > it to a fixed media type (both 100baseTX and 1000baseTX) the link goes > > > down, and stays down until i set it to autoselect again. It does seem to > > > work when setting it to 10baset/utp. > > > > > > > Due to the poor PHY documentation from RealTek I can't sure but > > I guess the RealTek PHY needs to set RGEPHY_BMCR_AUTOEN bit of > > RGEPHY_MII_BMCR register and proper ANAR register setting for > > manual media type selection. > > How about attached patch? > > > > This patch seems to work. I can set the media type now, and will be > running my performance tests once the other computers have been updated. > FYI: Patch committed to HEAD rgephy.c, rev. 1.11. -- Regards, Pyun YongHyeon