From owner-freebsd-stable@FreeBSD.ORG Tue Jul 8 12:02:10 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF3101065679 for ; Tue, 8 Jul 2008 12:02:10 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.225]) by mx1.freebsd.org (Postfix) with ESMTP id 8350E8FC2B for ; Tue, 8 Jul 2008 12:02:10 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so3231728rvf.43 for ; Tue, 08 Jul 2008 05:02:10 -0700 (PDT) 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=yTEkTeQgihpilAHU8/y3rRys4U3RxY9TiHERwEx7HNo=; b=fdklr91oc3avrlRCb06BVfYAuAVyECAUzrnc2CBmoj+BIvsKGOISm8fFnlvzcJmNVC 2tH0fP6MES+12BASjIxlSJM3gENQDUHKWP2K/Moo+ydMXclGjvQJR43xrhFvvpWHDsER wcYr6lS2BKlkPObHq4cxerJTWP6dmH6eUcc/U= 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=GaHgZaLqRMK9AbuxfQWkbfXje42oIOHWB0+g/X94QVVOz+FPYQLiwrRb2Sk3jhyhDi bMJiY97nw3Gmo1JLhUQ6DSRIu1DlKGqA+jF0+Yt9eK5XWuhbTLfuXMEMoSM5Ij7ZDqoS StLxSpRLh99Rt2ut1jkiI8FtKD9kM1aTco1kE= Received: by 10.140.139.3 with SMTP id m3mr3119535rvd.165.1215518529933; Tue, 08 Jul 2008 05:02:09 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTPS id k2sm8304350rvb.4.2008.07.08.05.02.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 08 Jul 2008 05:02:09 -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 m68BxxEV014521 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Jul 2008 20:59:59 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id m68BxxTh014520; Tue, 8 Jul 2008 20:59:59 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Tue, 8 Jul 2008 20:59:58 +0900 From: Pyun YongHyeon To: NAGATA Shinya Message-ID: <20080708115958.GI12415@cdnetworks.co.kr> References: <86wsjxpehl.wl%maya@negeta.com> <48729132.10307@delphij.net> <86lk0ds4p9.wl%maya@negeta.com> <20080708005226.GB12415@cdnetworks.co.kr> <6.2.3.4.2.20080708100506.02775558@pop.nifty.com> <20080708014321.GD12415@cdnetworks.co.kr> <86hcb0r9d7.wl%maya@negeta.com> <20080708114446.GH12415@cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080708114446.GH12415@cdnetworks.co.kr> User-Agent: Mutt/1.4.2.1i Cc: Tadashi Takahashi , freebsd-stable@freebsd.org Subject: Re: Realtek 8102EL X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2008 12:02:10 -0000 On Tue, Jul 08, 2008 at 08:44:46PM +0900, To NAGATA Shinya wrote: > On Tue, Jul 08, 2008 at 06:52:20PM +0900, NAGATA Shinya wrote: > > > > re0: MAC rev. 0x00200000 > > > > re0: Unknown H/W revision: 0x24800000 > > > > device_attach: re0 attach returned 6 > > > > > > > > > > Apply attached one and let me know how it goes. > > > > Thank you for your patch. > > > > It doesn't work on 6.3-p2. > > :-( > > > > pci1: on pcib1 > > > pci1: at device 0.0 (no driver attached) > > > > It can find this chip on RELENG_7, and can up as re0. > > But ping does not reach to other host / from other host. > > > pci1: on pcib1 > > > re0: port 0x2000-0x20ff mem 0x90200000-0x90200fff,0x90000000-0x9000ffff irq 16 at device 0.0 on pci1 > > > miibus0: on re0 > > > rlphy0: PHY 1 on miibus0 > > > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > > re0: Ethernet address: 00:1c:c0:47:32:5d > > > re0: [FILTER] > > > > Thanks! This is good information. It seems that newer 810x PCIe > controllers seems to use different descriptor format such that > checksum offload didn't work on these controllers. > Backout previous patch and try attached patch. Forgot to say that the patch was generated against HEAD. Copy if_re.c and if_rlreg.h from HEAD to RELENG_7 and apply the patch. -- Regards, Pyun YongHyeon