[eepro100] eepro100 receiver flexible mode problem

Sergey Zimin Sergey Zimin" <zimin2000@mail.ru
Thu Dec 27 17:11:01 2001


Hi, folks.

I write small driver of the EtherExpress and  
I want to use the flexible RU mode. I try 
to do this, same way as for CU, but the eepro
still receive the data in the simple mode.

Example here:

struct RxFD {
    u16 status;
    u16 control;
    u32 rx_desc_addr;
    u32 count;

    u32 tx_buf_addr0;
    s32 tx_buf_size0;
    u32 tx_buf_addr1;
    s32 tx_buf_size1;
};

I do the follows:
 set the RxFlex bit in the control field,

 add two RBD entry,
 set the address of the first RBD in the data buffer
 set the size of the first RBD to the size of the data buffer
 point rx_desc_addr to the first RBD entry
 set count value to the 0x01208000

My chip is i82557. Tell my please, what's wrong, and 
where can i find good documentation about this chip.

Thanks, Serj.