From owner-freebsd-current@FreeBSD.ORG Sat Oct 9 01:24:53 2010 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 2BE69106564A for ; Sat, 9 Oct 2010 01:24:53 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) by mx1.freebsd.org (Postfix) with ESMTP id 99D148FC0C for ; Sat, 9 Oct 2010 01:24:52 +0000 (UTC) Received: from amavis-proxy-ori.ijs.si (localhost [IPv6:::1]) by mail.ijs.si (Postfix) with ESMTP id 83BE21D1C09 for ; Sat, 9 Oct 2010 03:24:51 +0200 (CEST) Authentication-Results: mail.ijs.si; dkim=pass (1024-bit key) header.i=@ijs.si; dkim-adsp=pass DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= message-id:content-transfer-encoding:content-type:content-type :organization:mime-version:in-reply-to:references:user-agent :date:date:subject:subject:from:from:received:received:received; s=jakla2; t=1286587488; x=1289179488; bh=ZcNgQOv+sMmwV4/4Ab4dFG jKG+Krb2BlN1PMAvxsTP4=; b=jHCrkM/eEOj7ai5PFh9U2r0l6hPlBnoXAaVDxa tXr+hSEmlcdEC/EoUgiiONBdNQKJSG/eJlBLEr+5o7oNp+ZXxMXAq62qPzw7zIjm o14h/Z2EGk6kthVXrtpXGrsfLRQgejHTprlJ4UyOBVa1RYij4moDipvlvB6dthR+ nqTkY= X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([127.0.0.1]) by amavis-proxy-ori.ijs.si (mail.ijs.si [127.0.0.1]) (amavisd-new, port 10012) with ESMTP id tPJFpvg1W08i for ; Sat, 9 Oct 2010 03:24:48 +0200 (CEST) Received: from edina.ijs.si (unknown [IPv6:2001:1470:ff80:0:2e0:81ff:fe72:51d]) by mail.ijs.si (Postfix) with ESMTP for ; Sat, 9 Oct 2010 03:24:48 +0200 (CEST) Received: from siesta.ijs.si (upc.si.94.140.92.23.dc.cable.static.telemach.net [94.140.92.23]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by edina.ijs.si (Postfix) with ESMTPSA id 93CCB22EFA1 for ; Sat, 9 Oct 2010 03:24:48 +0200 (CEST) From: Mark Martinec To: freebsd-current@freebsd.org Date: Sat, 9 Oct 2010 03:24:47 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-RELEASE; KDE/4.5.2; amd64; ; ) References: <201010081731.04127.Mark.Martinec+freebsd@ijs.si> <20101008170045.GA25411@michelle.cdnetworks.com> In-Reply-To: <20101008170045.GA25411@michelle.cdnetworks.com> MIME-Version: 1.0 Organization: J. Stefan Institute Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010090324.47592.Mark.Martinec+freebsd@ijs.si> Subject: Re: Support for newer Ethernet chips in RE(4) driver? 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: Sat, 09 Oct 2010 01:24:53 -0000 On Friday October 8 2010 19:00:45 Pyun YongHyeon wrote: > Actually re(4) supports much more controllers than that. > Man page needs updating to reflect this. False alarm. Indeed it does work with RTL8111E. I was distracted by the lack of its mention on the man page, and by the presence of a FreeBSD 8.0 re(4) driver on the Realtek's web page, whose source code is much larger than the base driver from the FreeBSD 8.1 distribution. Updating the docs could help others deciding what hw to purchase or what OS to run on it. > Does stock re(4) fail to recognize your controller? If yes, please > send me dmesg output (pciconf output is useless for RealTek > controllers). The same report in dmesg comes from using either the base or the vendor's driver, so no problems there. Here it is anyway (the second of the two ethernet controllers): pcib8: irq 17 at device 28.5 on pci0 pci8: on pcib8 re1: port 0xbe00-0xbeff mem 0xfbaff000-0xfbafffff,0xfbaf8000-0xfbafbfff irq 17 at device 0.0 on pci8 re1: Using 1 MSI messages re1: Chip rev. 0x2c000000 re1: MAC rev. 0x00000000 miibus1: on re1 rgephy1: PHY 1 on miibus1 rgephy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re1: Ethernet address: 6c:f0:49:ef:99:e7 re1: [FILTER] and ifconfig tells: re1: flags=8843 metric 0 mtu 1500 options=389b ether 6c:f0:49:ef:99:e7 inet6 fe80::6ef0:49ff:feef:99e7%re1 prefixlen 64 scopeid 0x2 inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 nd6 options=3 media: Ethernet autoselect (1000baseT ) status: active Thanks for a prompt response! Mark