[etherlab-users] Installation of the EtherCAT-Master software

Oliver.Haala at semikron.com Oliver.Haala at semikron.com
Fri Sep 24 16:33:39 CEST 2010

Hello Andreas,

According to the table of supported hardware it should be possible to run EtherCAT 1.5 Master with kernel 2.6.31. 
Are you sure that its possible? I have had a look at the kernel header file net_device.h. (Version 2.6.31 and .27) 
There are some serious differences between the header files. For example:

$ diff -u net_device.27 net_device.31
-       /* Pointers to interface service routines.      */
-       int                     (*open)(struct net_device *dev);
-       int                     (*stop)(struct net_device *dev);

The function pointers dont occur in the newer version. That explains the error message, telling me something like that: 
$ make modules
error: 'struct net_device' has no member named 'open'

Is their any quite easy way to deal with that problem or do I have to use a second kernel?


IMPORTANT NOTICE - The contents of this email and attachments are confidential. If you are not the intended recipient you must not use, copy, distribute or rely on this email and should please return it immediately or notify us by telephone. While we take every reasonable precaution to screen out computer viruses from emails, attachments to this email may contain such viruses. We cannot accept liability for loss or damage resulting from such viruses.  The integrity of email across the Internet cannot be guaranteed and SEMIKRON will not accept liability for any claims arising as a result of the use of this medium for transmissions by or to SEMIKRON.

More information about the Etherlab-users mailing list