[etherlab-users] EtherCAT Master on 2.6.18 with Intel PRO/1000 NIC

Hideki Izumisawa izumisawa at screen.co.jp
Tue Jan 27 02:17:47 CET 2009


Hello,

> > You could try to back-port the changed from 2.6.20 to 2.6.18. It should
> > be fairly easy...

I tried back-porting etherCAT device driver from 2.6.20 to 2.6.18.
Thus, EtherCAT Master looks like working normally.

In particular, I replaced all 2.6.18 e1000-driver's sources with 2.6.20.
And, I modified e1000_main-2.6.20-ethercat.c as below.

1085:
INIT_WORK(&adapter->reset_task, e1000_reset_task);
->
INIT_WORK(&adapter->reset_task,
(void (*)(void *))e1000_reset_task, netdev);
if (!adapter->ecdev) {
netif_carrier_off(netdev);
netif_stop_queue(netdev);
}

3039:
context_desc->upper_setup.tcp_fields.tucso = css + skb->csum_offset;
->
context_desc->upper_setup.tcp_fields.tucso = css + skb->csum;

Thanks for your help,
Hideki Izumisawa




More information about the Etherlab-users mailing list