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

Re: Any help with Realtek RTL8139 ?



On Mon, Aug 09, 1999 at 07:39:15PM +0100, Nuno Emanuel F. Carvalho wrote:
> What Windows NT does, that I'm sure I need, it's force both network cards to
> 10Mbits FullDuplex.
> I'm unable to get 100Mbits - still didn't test but it seems I've an UTP cat3
> cable. :-(
> 
> So, probably, Linux is not forcing each network card to 10MBits but for
> autodetecting ...
autodetection sucks from all I heard.

> Could someone give me the options I should use to force it to 10 MBits ?
Use the driver as a module, don't use a driver compiled directly into the
kernel (Or use lilo to pass options to the driver but I won't describe that
here) Then use the line

  rtl8139 options=0x02 full_duplex=1

The "0x02" comes from the following definition:

/* Media selection options. */
enum {
        IF_PORT_UNKNOWN = 0,
        IF_PORT_10BASE2,
        IF_PORT_10BASET,
        IF_PORT_AUI,
        IF_PORT_100BASET,
        IF_PORT_100BASETX,
        IF_PORT_100BASEFX
};

This appears not to be documented except in the source.

Nils

--
Plug-and-Play is really nice, unfortunately it only works 50% of the time.
To be specific the "Plug" almost always works.            --unknown source

Attachment: pgpM1Ik3uoDEf.pgp
Description: PGP signature


Reply to: