On Jan 29, 2008 6:21 PM, Sdävtaker <[EMAIL PROTECTED]> wrote: > Sepherosa Ziehau escribió: > > > On Jan 28, 2008 10:07 PM, Sdävtaker <[EMAIL PROTECTED]> 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_> [EMAIL PROTECTED]: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 > > > > > I found a little inscription in the board saying "8139d" so, i guess i > will have to use the new driver. > I doubt about been able to port a driver by myself, im not there yet, > but if you can point me to some documentation i will try :-) > Thanks for the info.
Sascha has made very good progress to make the fbsd4 driver working, please stay tuned :) Best Regards, sephe -- Live Free or Die