RTL8168/8111 PCI express support
Fernando Apesteguía
fernando.apesteguia at gmail.com
Thu Jun 12 17:56:41 UTC 2008
On Thu, Jun 12, 2008 at 4:44 AM, Pyun YongHyeon <pyunyh at gmail.com> wrote:
> On Wed, Jun 11, 2008 at 09:13:24AM +0200, Fernando Apestegu?a wrote:
> > On 6/11/08, Pyun YongHyeon <pyunyh at gmail.com> wrote:
> > > On Tue, Jun 10, 2008 at 03:11:22PM -0700, Jeremy Chadwick wrote:
> > > > On Tue, Jun 10, 2008 at 11:08:05PM +0200, Fernando Apestegu?a wrote:
> > > > > I sent this mail to freebsd-questions but I got no answer. I hope you
> > > > > can help me.
> > > > >
> > > > > I got a computer with an RTL8168/8111 PCI Express NIC. It is shown in
> > > > > pciconf but it is not seen by FreeBSD 7. I'm using i386 arch.
> > > > >
> > > > > I have re and rl drivers compiled in the kernel (stock GENERIC kernel,
> > > > > actually).
> > > > >
> > > > > What do I need to make the NIC work properly?
> > > >
> > > > CC'ing PYUN YongHyeon, who should be able to help, since he helps
> > > > maintain the driver. :-)
> > >
> > > I don't know which revision of RealTek controller you have. Just
> > > knowing "pciconf -lv" is not enough. Since 7.0 didn't recognize
> > > your controller I guess it could be newer revision from RealTek.
> > > There is a WIP version that try to add support for newer
> > > controllers. In order to try the WIP version you have to update to
> > > latest 7-stable first and apply the following patch.
> > >
> > > http://people.freebsd.org/~yongari/re/re.HEAD.20080610
> > >
> > > The patch still have some issues but it should detect/recognize
> > > your controller.
> >
> >
> > It makes sense what you say about the new revision cause the whole
> > computer is quite new. In any case I will paste the "pciconf -lv"
> > output just to be sure of the controller I have.
> >
> > I already have the 7-stable system installed with the kernel sources
> > installed from sysinstall. Do I need any update of the source code?
> >
>
> If you use 7-stable, you may not have to update again.
> Just apply patche above and let me know the result.
Sorry. I was wrong. I'm using 7.0 Release and my sources are those
(taken from ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/7.0-RELEASE/src/)
Since I don't have NIC, I can't update my system to 7.0 stable.
If the changes involved are only on those two files
(sys/dev/re/if_re.c and sys/pci/if_rlreg.h) and no more -stable
changes are required, could it be possible to get the diff generated
against the -release sources? I already tried to apply the patch
against my sources, but I get a bunch of errors.
Otherwise I think I am a bit stuck unless you tell me how to update my
system without a working network.
Thanks in advance
>
> > Thanks in advance.
> >
> > >
> > > >
> > > > I'd recommend you start by providing pciconf -lv output here.
> > > >
> > > > --
> > > > | Jeremy Chadwick jdc at parodius.com |
> > > > | Parodius Networking http://www.parodius.com/ |
> > > > | UNIX Systems Administrator Mountain View, CA, USA |
> > > > | Making life hard for others since 1977. PGP: 4BD6C0CB |
> > > >
>
> --
> Regards,
> Pyun YongHyeon
>
More information about the freebsd-hackers
mailing list