[En-Nut-Discussion] changes in nicrtl driver

Damian Slee damian at commtech.com.au
Fri Jul 2 03:22:10 CEST 2004


>>May be that the NIC will restart in full duplex after woken up from
sleep mode. 

You actually want  it to start in half duplex, cause the realtek 8019 is
so old, it doesn't have n-way auto negotiation support.  

So  a switch will always think it is half duplex, when the realtek is in
full duplex.  Unless you have a managed switch that you can force it
full duplex on the switch side.

-----Original Message-----
From: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de] On Behalf Of Dusan Ferbas
Sent: Thursday, July 01, 2004 9:25 PM
To: en-nut-discussion at egnite.de
Subject: [En-Nut-Discussion] changes in nicrtl driver

Hi,

in CVS there is nicrtl.c with following modification. RTL sheet
(8019asds.pdf) says that only SLEEP and PWRDWN are writable bits in
config3 register. I think that the change has no effect.

What do you think Bengt Florin ?

---
Instead of original:
 >     /*
 >      * Disable sleep and power down.
 >      */
 >     nic_write(NIC_PG3_CONFIG3, 0);

there is:
 >#define NIC_PG3_CONFIG2  0x05    /*!< \brief Configuration register 2
*/
...
 >#define NIC_CONFIG3_FUDUP   0x40 /*!< \brief Full duplex */
...
 >     /*
 >      * Disable sleep and power down, enable FDX
 >      *
 >      * Bengt Florin moved this command down, no idea why. But it
 >      * reminds me of the possibility to get the full duplex problem
 >      * solved without hardware modification. May be that the NIC
 >      * will restart in full duplex after woken up from sleep mode.
 >      */
 >     nic_write(NIC_PG3_CONFIG3, NIC_CONFIG3_FUDUP);


Dusan

_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion






More information about the En-Nut-Discussion mailing list