Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2008 19:07:12 +0200
From:      cpghost <cpghost@cordula.ws>
To:        Andrew Falanga <af300wsm@gmail.com>
Cc:        Sebastian <list@mindling.com>, freebsd-questions@freebsd.org
Subject:   Re: Realtek 8111C?
Message-ID:  <20081001170712.GA1391@phenom.cordula.ws>
In-Reply-To: <340a29540809302126m6196e828u4e8949cc092847bb@mail.gmail.com>
References:  <48D3D0A8.7070504@mindling.com> <1221876046.4625.4.camel@laptop1.herveybayaustralia.com.au> <48D53DA1.2040808@mindling.com> <200809211527.53755.af300wsm@gmail.com> <48D85B3A.8070706@mindling.com> <340a29540809302126m6196e828u4e8949cc092847bb@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 30, 2008 at 10:26:14PM -0600, Andrew Falanga wrote:
> On Mon, Sep 22, 2008 at 8:58 PM, Sebastian <list@mindling.com> wrote:
> > Andrew Falanga wrote:
> >>
> >> On Saturday 20 September 2008 12:14:57 Sebastian wrote:
> >>
> >>>
> >>> Da Rock wrote:
> >>>
> >>>>
> >>>> I have used the compiled driver on 6.3 with success- but then I've used
> >>>> the driver linked in a post to drivers list. 7.0 is a no go.
> >>>>
> >>>
> >>> I tried to compile the current OEM Realtek driver under (v176) on fbsd
> >>> 6.3, but couldn't get it to build. My foo is a little thin here. :)
> >>>
> >>>
> >>
> >> Where did you get this OEM driver?
> >>
> >
> > The oem driver can be found here:
> >
> > http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false
> >
> > It builds just fine on 6.3, once I read the file manual on how to build a
> > kernel module.
> >
> > So far no problems running it with a fair amount of traffic.
> 
> Awesome!  Thanks.  If I've been understanding another thread on here,
> it sounds like there's a FreeBSD driver coming in 7.1.

Just for the record: the re(4) driver on my FreeBSD 7.1-PRERELEASE #0:
Fri Sep 26 14:43:33 CEST 2008 (both i386 and amd64) now runs like a
charm on a RealTek 8111C on-board NIC (at least with 100baseTX, I didn't
test with Gigabit):

re0: <RealTek 8168/8168B/8168C/8168CP/8111B/8111C/8111CP PCIe Gigabit
      Ethernet> port 0xe800-0xe8ff mem 0xfdfff000-0xfdffffff,
      0xfdfe0000-0xfdfeffff irq 17 at device 0.0 on pci2
re0: Chip rev. 0x3c000000
re0: MAC rev. 0x00200000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
          1000baseT-FDX, auto

$ ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1460
        options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,
                WOL_UCAST,WOL_MCAST,WOL_MAGIC>
        ether 00:21:85:XX:YY:ZZ
        inet6 fe80::221:85ff:feXX:YYYZZ%re0 prefixlen 64 scopeid 0x1 
        inet 192.168.254.60 netmask 0xffffff00 broadcast 192.168.254.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

$ lspci -v

(...)

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B
PCI Express Gigabit Ethernet controller (rev 02)
        Subsystem: Micro-Star International Co., Ltd. Unknown device 501c
        Flags: bus master, fast devsel, latency 0, IRQ 17
        I/O ports at e800
        Memory at fdfff000 (64-bit, prefetchable)
        Memory at fdfe0000 (64-bit, prefetchable)
        Expansion ROM at feaf0000 [disabled]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+
                           Queue=0/1 Enable-
        Capabilities: [70] Express Endpoint, MSI 01
        Capabilities: [b0] MSI-X: Enable- Mask- TabSize=2
        Capabilities: [d0] Vital Product Data <?>

> Andy
> 
> -- 
>  A: Because it messes up the order in which people normally read text.
> Q: Why is it such a bad thing?
> A: Top-posting.
> Q: What is the most annoying thing on usenet and in e-mail?

-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081001170712.GA1391>