DragonFly users List (threaded) for 2008-01
DragonFly BSD
DragonFly users List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: My network card is not detected.


From: "Sepherosa Ziehau" <sepherosa@xxxxxxxxx>
Date: Tue, 29 Jan 2008 00:31:42 +0800

On Jan 28, 2008 10:07 PM, Sdävtaker <sdavtaker@gmail.com> wrote:
> Im posting this here just to keep the question/answer in archive,
> someone will probably have similar problem.
> It is an extract of the DragonFly chat channel today earlier.
>
>         <Sdav_> hello, i just bought a realtek 8139 card but it is not
> detected (it was not detected with FBSD neither, because the vendor id
> was not recognized) where should i add this vendor id to use rl driver
> on it? same place than FBSD? thanks for any data.
>         <swildner>      Sdav_: what are the ids?
>         <Sdav_> none0@pci0:8:0: class=0x020000 card=0x00000000
> chip=0x81391904 rev=0x01 hdr=0x00
> class = network
> subclass = ethernet    // extracted from pciconf line command
>         <swildner>      yea that's not in if_rl.c
>         <swildner>      it's not supported yet.. the id is not in if_rl.c
>         <Sdav_> i had another rl8139 before that worked, but this one is not working.
>         <swildner>      Sdav_: *here was an url, i will just pasted the code here:
>
>
> Index: if_rl.c
> ===================================================================
> RCS file: /home/dcvs/src/sys/dev/netif/rl/if_rl.c,v
> retrieving revision 1.36
> diff -u -r1.36 if_rl.c
> --- if_rl.c     26 Jun 2007 07:47:28 -0000      1.36
> +++ if_rl.c     28 Jan 2008 13:22:51 -0000
> @@ -165,6 +165,7 @@
>                 "Corega FEtherII CB-TXD" },
>         { PCI_VENDOR_PLANEX, PCI_PRODUCT_PLANEX_FNW_3800_TX,
>                 "Planex FNW-3800-TX" },
> +       { 0x1904, 0x8139, "Hangzhou Silan RTL8139D" },

This may be the "Rsltek 8139D" (I am not wrong on the name ;) or
something similar to Silan's 92301?  It's quite different from
Realtek's 8139.  You can first try your luck with rl(4).  If it did
not work, I could do a quick "slash" porting of a fbsd4 driver (the
fbsd4 driver was published by Silan in public domain?) or do you want
to port that driver :)?

Best Regards,
sephe

-- 
Live Free or Die



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]