[En-Nut-Discussion] changes in nicrtl driver

Dusan Ferbas dferbas at dfsoft.cz
Thu Jul 1 15:25:13 CEST 2004


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 




More information about the En-Nut-Discussion mailing list