login
Header Space

 
 

Re: My network card is not detected.

Previous thread: upgrading wiki by Justin C. Sherrill on Monday, January 28, 2008 - 12:41 am. (4 messages)

Next thread: Some mail from dragonfly.users being rejected by Vincent Stemen on Monday, January 28, 2008 - 3:20 pm. (1 message)
To: <users@...>
Date: Monday, January 28, 2008 - 10:07 am

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.

	&lt;Sdav_&gt;	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.
	&lt;swildner&gt;	Sdav_: what are the ids?
	&lt;Sdav_&gt;	none0@pci0:8:0: class=0x020000 card=0x00000000
chip=0x81391904 rev=0x01 hdr=0x00
class = network
subclass = ethernet    // extracted from pciconf line command
	&lt;swildner&gt;	yea that's not in if_rl.c
	&lt;swildner&gt;	it's not supported yet.. the id is not in if_rl.c
	&lt;Sdav_&gt;	i had another rl8139 before that worked, but this one is not working.
	&lt;swildner&gt;	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
	&lt;swildner&gt;	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.
To: <users@...>
Date: Friday, February 1, 2008 - 4:19 pm

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
To: <users@...>
Date: Monday, January 28, 2008 - 12:31 pm

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
To: <users@...>
Date: Tuesday, January 29, 2008 - 6:21 am

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
To: <users@...>
Date: Tuesday, January 29, 2008 - 6:39 am

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
To: <users@...>
Date: Tuesday, January 29, 2008 - 6:28 am

Sascha has made very good progress to make the fbsd4 driver working,
please stay tuned :)

Best Regards,
sephe

-- 
Live Free or Die
To: <users@...>
Date: Monday, January 28, 2008 - 10:20 am

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
Previous thread: upgrading wiki by Justin C. Sherrill on Monday, January 28, 2008 - 12:41 am. (4 messages)

Next thread: Some mail from dragonfly.users being rejected by Vincent Stemen on Monday, January 28, 2008 - 3:20 pm. (1 message)
speck-geostationary