From owner-freebsd-current@FreeBSD.ORG Wed Aug 12 21:50:37 2009 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 AD8EA106564A for ; Wed, 12 Aug 2009 21:50:37 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.25]) by mx1.freebsd.org (Postfix) with ESMTP id 5A1D48FC59 for ; Wed, 12 Aug 2009 21:50:37 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 3so126904qwe.7 for ; Wed, 12 Aug 2009 14:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=rQ9CnAJQsMEgB+QAisvTu5Q7/QOvVxmZdKTVPeUFtZM=; b=hWchJ129DM2MRzlUVLvT3jqs1agZxOgMMNmCs0avL/EokCtsxAjDDAgx0MZbNNoyZN 7dBgeTWXDeEp/2NxFLmoVfwGJrsL63qOaFeRFaHE5G8RHOM9G/+0LjLkjdqcQbFgzbX+ 5wSIGKLZj80bDDs1x4k2qFKI3sZIvQVRyxi6c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=EGg5ylWyzIOcYCBAhcXusv65GSNkWXPEKdidlJGwpiff84ShxgqMxl5LZWW5nLGaii 0D6HfF5fOqZfQ+JAxFKenCHi0amutZmwDZDAmrrAeY5tydxvRWTuWsdm4W+o7rfNi+9e uTSDc/S/75RPGq1thXJdbCwKrdrwq4zOR9b+M= Received: by 10.224.65.77 with SMTP id h13mr667716qai.368.1250113836673; Wed, 12 Aug 2009 14:50:36 -0700 (PDT) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 6sm407562qwk.42.2009.08.12.14.50.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 12 Aug 2009 14:50:35 -0700 (PDT) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 12 Aug 2009 14:49:32 -0700 From: Pyun YongHyeon Date: Wed, 12 Aug 2009 14:49:32 -0700 To: Ryan Rogers Message-ID: <20090812214932.GH55129@michelle.cdnetworks.com> References: <4A66CFFC.30601@doghouserepair.com> <11167f520907220200m5dd456dfs2ad53d4b579b851b@mail.gmail.com> <4A66D587.9060001@haruhiism.net> <11167f520907220326m430709efv7aa6c779f9511b78@mail.gmail.com> <20090722211600.GC1184@weongyo.local> <4A679223.10604@doghouserepair.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="ALfTUftag+2gvp1h" Content-Disposition: inline In-Reply-To: <4A679223.10604@doghouserepair.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org Subject: Re: nfe problem on 8.0-BETA2 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, 12 Aug 2009 21:50:37 -0000 --ALfTUftag+2gvp1h Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jul 22, 2009 at 03:26:43PM -0700, Ryan Rogers wrote: > Weongyo Jeong wrote: > >On Wed, Jul 22, 2009 at 05:26:07AM -0500, Sam Fourman Jr. wrote: > >>>svn co svn://svn.freebsd.org/base/head > >>>svn merge -c -193289 > >>> > >>>Thereafter, in the root of the repo: > >>>svn up > >>>svn merge > >>Confirmed, running the above set of commands fixed my 88E1116 nfe problem > >>everything works as it should now. thanks guys for the help. > >> > >>Sam Fourman Jr. > >> > >>ps. svn was WAY faster than csup, I think I am going to use svn all > >>the time now. > > > >I know that yongari@ knows what the problem is and the solution but he > >could not access the internet right now due to relocation to USA. > > > >It looks he is busy with looking for house and etc... > > > >regards, > >Weongyo Jeong > > > > > > > > Well, the good news is that r193289 was the only thing keeping my nics > from working. I was able to update to current as of today and revert > that patch, and everything is working nicely now. So I'll just keep my > eye on the commit logs and patch that up by hand whenever I need to > update until yongari is able to get situated. > Would you try attached patch and let me know how it goes on your box? --ALfTUftag+2gvp1h Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="e1000phy.88E1116.diff" Index: sys/dev/mii/e1000phy.c =================================================================== --- sys/dev/mii/e1000phy.c (revision 196104) +++ sys/dev/mii/e1000phy.c (working copy) @@ -151,12 +151,13 @@ if (PHY_READ(sc, E1000_ESSR) & E1000_ESSR_FIBER_LINK) sc->mii_flags |= MIIF_HAVEFIBER; break; + case MII_MODEL_MARVELL_E1116: case MII_MODEL_MARVELL_E1149: /* - * Some 88E1149 PHY's page select is initialized to - * point to other bank instead of copper/fiber bank - * which in turn resulted in wrong registers were - * accessed during PHY operation. It is believed that + * Some 88E1116 and 88E1149 PHY's page selection is + * initialized to point to other bank instead of + * copper/fiber bank which in turn resulted in accessing + * wrong registers during PHY operation. It is believed * page 0 should be used for copper PHY so reinitialize * E1000_EADR to select default copper PHY. If parent * device know the type of PHY(either copper or fiber), --ALfTUftag+2gvp1h--