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" },
{ 0, 0, NULL }
};
ups? I guess someone will find this usefull in the archive some day
<swildner> Sdav_: that should be no problem :)
I will reply this post with further info when i make it work(or not).
--
Sdävtaker prays to Rikku goddess for a good treasure.Hi, can you test: http://leaf.dragonflybsd.org/~swildner/sln2.tbz I did the basic porting (get it to compile) and sephe enhanced it a bit. It could work now, or not. :) Sascha -- http://yoyodyne.ath.cx
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
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. Sdav
Hi, I'm looking into porting the old FreeBSD 4.7 driver from Silan at the moment. Let's see what I have in some days. :) Sascha -- http://yoyodyne.ath.cx
Sascha has made very good progress to make the fbsd4 driver working, please stay tuned :) Best Regards, sephe -- Live Free or Die
Of course this patch was just for testing and if it works the device should/will be added to pcidevs. Sascha -- http://yoyodyne.ath.cx
| Pardo | Re: pthread_create() slow for many threads; also time to revisit 64b context switc... |
| Andrew Morton | 2.6.23-rc4-mm1 |
| Albert Cahalan | JIT emulator needs |
| Jack Stone | [PATCH 5/7] Replace DPRINTK with pr_debug in ncpfs |
git: | |
| Theodore Tso | Re: git on MacOSX and files with decomposed utf-8 file names |
| Johan Herland | [PATCH 0/6] Refactor the tag object |
| Ingo Molnar | [OT] Your branch is ahead of the tracked remote branch 'origin/master' by 50 commi... |
| Johannes Schindelin | [WIP PATCH] Add 'git fast-export', the sister of 'git fast-import' |
| Mark Reitblatt | US Export of Cryptography |
| Rico Secada | About non-free software in OpenBSD |
| Reza Muhammad | Dell PowerEdge 1950 III / R200 |
| Ivo Chutkin | problem installing some packages on 4.2 |
| David Miller | Re: [RFC PATCH 05/13] ip: support for TX timestamps on UDP and RAW sockets |
| Adrian Bunk | [2.6 patch] remove CONFIG_NET_SCH_RR |
| Erik Mouw | Lots of "BUG eth1 code -5 qlen 0" messages in 2.6.24 |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
