Page 1 of 1

Is there RTL8139 Support in OS 4.1?

Posted: Wed Dec 19, 2012 4:46 pm
by danbeaver
Read this:

"

Re: Error: Can not get my RTL8029AS to work

Post by Cyborg ยป Tue Jan 03, 2012 11:54 am

The reason is that rtl8029.device (and also rtl8139 and rtl8169) only check for the default Realtek PCI IDs. Back when I wrote those drivers, I only had cards with default Realtek IDs and the same for the beta testers. So I never had a chance to add more cards to the list of supported cards. BUT luckily I gave the user the ability to overwrite those default IDs ;)

Here is the relevant section of the (internal) documentation:

The driver reads a file from "ENV:rtl8029.device/" named "unit <X>" where
<X> replaced by the unit number (0-7). The variable must contain one line
of configuration text which follows this template:

HALFDUPLEX/S, FULLDUPLEX/S, NOFLOWCONTROL/S, FLOWCONTROL/S,
VENDORID/K, DEVICEID/K

The options should be fairly self-explanatory, so just a few words
regarding VENDORID/K and DEVICEID/K: These two are meant to overwrite
the standard Realtek vendor and device PCI IDs, which might be useful
for rebranded network cards with a supported Realtek chip. To get both
IDs, run "PCIscan" in a shell and look for your card. The ID's *must*
be given as 16-bit hex values, e.g. 0x10EC or just 10EC. Case is
ignored.

By DEFAULT the device looks for cards with vendor ID 0x10EC (Realtek),
device ID 0x8139, 0x8169 or 0x8029 depending on what device you're
using and tries to auto-negotiate the best link setup with the other
side (e.g. 1000Mbit full-duplex flowcontrol for 8169).

So in your case, assuming you only have one rtl8029 card in your computer, you have to create this environment variable:

Code: ENVARC:rtl8029.device/unit0

with this content:

Code: VENDORID 0x4A14 DEVICEID 0x5000

Now rtl8029.device should be able to find and use your card (maybe do a reset after creating the envvar, just to be sure).

Would be nice if you could report back if your card works. Then I could include their IDs directly in the next release of rtl8029.


Cyborg
AmigaOS Core Developer"

Re: Is there RTL8139 Support in OS 4.1?

Posted: Fri Jan 11, 2013 8:04 pm
by JurassicC
Yes but not for classic. Support is limited to the RTL8029 card in 3rd party pci solutions.

Re: Is there RTL8139 Support in OS 4.1?

Posted: Sat Jan 12, 2013 10:39 am
by danbeaver
Didn't say so in the post.

Re: Is there RTL8139 Support in OS 4.1?

Posted: Thu Jan 17, 2013 7:14 pm
by DarrenHD
danbeaver wrote:Didn't say so in the post.
All the other RTL cards require DMA. We don't have DMA support on the Classic with AmigaOS 4.1 from the Mediator.

That leaves the RTL8029 as the only PCI network card. Deneb will work with a supported USB network adapter and can reach faster speeds btw.

Re: Is there RTL8139 Support in OS 4.1?

Posted: Sat Jan 19, 2013 6:43 am
by danbeaver
Well this was listed in the Classic forum, so who is to blame for the confusion? Him for posting it or me for reading it?

Re: Is there RTL8139 Support in OS 4.1?

Posted: Mon Jan 21, 2013 2:32 am
by DarrenHD
No one is to blame, but if anyone, it would be me for not putting it in the FAQ. I'm just trying to help out here.

Re: Is there RTL8139 Support in OS 4.1?

Posted: Mon Jan 21, 2013 3:40 pm
by Calgor
Hi danbeaver.

I just read the original thread. As I'm sure everyone here knows, one can override the device id etc of e.g. the RTL8029AS in case you have a "special" version of this card which does not use default/common PCI IDs. Think the confusion came in as this ability to override applies to other RTL cards (which are also not used in Classic) as per the statement you quoted. And then someone else in the thread was subsequently asking about their RTL8139 (in a classic thread).... hence the confusion.

Regarding the question on information on ability to use RTL8139 or not, was a good question to ask considering that thread, but if such a thing (imagining) were possible it would need to be put in the Compatibility List and as users we can refer to that or ask it be updated as per the separate thread if some user has somehow managed to get it working reliably. Trust me I would be on to it if such a thing were possible as I'm sure you would be :)

@DarrenHD

This ability to override is in the docs which might be enough, don't know if it is a common enough problem worthy of the FAQ.

Re: Is there RTL8139 Support in OS 4.1?

Posted: Sat Jan 26, 2013 5:19 am
by DarrenHD
Calgor wrote:Hi danbeaver.

@DarrenHD

This ability to override is in the docs which might be enough, don't know if it is a common enough problem worthy of the FAQ.
I could add it to the next FAQ revision. I didn't think it was that common of a problem - but perhaps worth adding :)

I should also add a question about corruption and newer Elbox-purchased Radon's. It's too bad that is the case but it appears it is - Elbox must have changed cards/suppliers.

Re: Is there RTL8139 Support in OS 4.1?

Posted: Fri Feb 08, 2013 8:23 pm
by alekc
DarrenHD wrote: Deneb will work with a supported USB network adapter and can reach faster speeds btw.
Sorry for a bit off-topic but do you actually have some tests how much faster it is. I'm asking since my A4000D in original casing is already packed so I might consider removing one PCI card from Mediator to make some room for others.