From nobody@FreeBSD.org  Tue Feb 27 20:08:02 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 485D116A405
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 Feb 2007 20:08:02 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 208F713C4B4
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 Feb 2007 20:08:02 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l1RK81q9083306
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 Feb 2007 20:08:01 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l1RK81jf083305;
	Tue, 27 Feb 2007 20:08:01 GMT
	(envelope-from nobody)
Message-Id: <200702272008.l1RK81jf083305@www.freebsd.org>
Date: Tue, 27 Feb 2007 20:08:01 GMT
From: Corey Smith<corsmith@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [re] re(4) does not support 3 port 8169 but the offical RealTek driver does
X-Send-Pr-Version: www-3.0

>Number:         109642
>Category:       kern
>Synopsis:       [re] re(4) does not support 3 port 8169 but the offical RealTek driver does
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 27 20:10:06 GMT 2007
>Closed-Date:    Mon May 21 19:54:47 GMT 2007
>Last-Modified:  Mon May 21 19:54:47 GMT 2007
>Originator:     Corey Smith
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD minivp1 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Tue Feb 27 12:20:49 EST 2007     root@minivp1:/usr/obj/usr/src/sys/SMP  i386
>Description:
I have a 3 port Realtek interface that does not work with the version included with FreeBSD 6.2 or -CURRENT but does work under the driver made by RealTek.

Using the driver rtl_bsd_drv_v172.tgz from realtek's website...

rl0: <Realtek RTL8169(s) Gigabit Ethernet Adapter> port 0xf600-0xf6ff
mem 0xfdfff000-0xfdfff0ff irq 18 at device 9.0 on pci0
rl0: [GIANT-LOCKED]
version:1.72
rl0: Ethernet address: 00:30:18:ab:68:f6
rl0: Ethernet address: 00:30:18:ab:68:f6
rl1: <Realtek RTL8169(s) Gigabit Ethernet Adapter> port 0xf400-0xf4ff
mem 0xfdffd000-0xfdffd0ff irq 19 at device 11.0 on pci0
rl1: [GIANT-LOCKED]
version:1.72
rl1: Ethernet address: 00:30:18:ab:68:f7
rl1: Ethernet address: 00:30:18:ab:68:f7
rl2: <Realtek RTL8169(s) Gigabit Ethernet Adapter> port 0xf800-0xf8ff
mem 0xfdffc000-0xfdffc0ff irq 16 at device 12.0 on pci0
rl2: [GIANT-LOCKED]
version:1.72
rl2: Ethernet address: 00:30:18:ab:68:f8
rl2: Ethernet address: 00:30:18:ab:68:f8

rl0@pci0:9:0:   class=0x020000 card=0x10ec16f3 chip=0x816910ec rev=0x10 hdr=0x00
   vendor   = 'Realtek Semiconductor'
   device   = 'RTL8169 Gigabit Ethernet Adapter'
   class    = network
   subclass = ethernet
rl1@pci0:11:0:  class=0x020000 card=0x10ec16f3 chip=0x816910ec rev=0x10 hdr=0x00
   vendor   = 'Realtek Semiconductor'
   device   = 'RTL8169 Gigabit Ethernet Adapter'
   class    = network
   subclass = ethernet
rl2@pci0:12:0:  class=0x020000 card=0x10ec16f3 chip=0x816910ec rev=0x10 hdr=0x00
   vendor   = 'Realtek Semiconductor'
   device   = 'RTL8169 Gigabit Ethernet Adapter'
   class    = network
   subclass = ethernet
>How-To-Repeat:
Current rl(4) driver does not support my NIC
>Fix:
Using the driver rtl_bsd_drv_v172.tgz from realtek's website...

Available this URL:

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=4&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true

Any chance the changes in 172 could be merged into FreeBSD?
>Release-Note:
>Audit-Trail:

From: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
To: bug-followup@FreeBSD.org, corsmith@gmail.com
Cc:  
Subject: Re: kern/109642: [re] re(4) does not support 3 port 8169 but the
	offical RealTek driver does
Date: Fri, 18 May 2007 11:46:22 +0100

 Hi,
 
 Support for this card was added after 6.2 was released, in
 src/sys/dev/re/if_re.c version 1.46.2.26.  Is there any chance you could
 try the patch at
 http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c.diff?r1=1.46.2.25;r2=1.46.2.26
 and confirm that this now works for you?
 
 This PR appears to be a duplicate of kern/110804
 
 Gavin
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Fri May 18 19:24:43 UTC 2007 
State-Changed-Why:  
Note that submitter has been asked for feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109642 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon May 21 19:54:45 UTC 2007 
State-Changed-Why:  
The submitter reports that this issue can be closed, thanks for the 
report! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109642 
>Unformatted:
