master/device.h
changeset 573 cdee4ea90ce9
parent 533 acdd1f9ef7ab
child 575 9a2121b500b1
equal deleted inserted replaced
572:aef7ea866a41 573:cdee4ea90ce9
    51 #include "debug.h"
    51 #include "debug.h"
    52 #endif
    52 #endif
    53 
    53 
    54 /*****************************************************************************/
    54 /*****************************************************************************/
    55 
    55 
       
    56 typedef enum {
       
    57     ec_device_id_empty,
       
    58     ec_device_id_mac
       
    59 }
       
    60 ec_device_id_type_t;
       
    61 
       
    62 typedef struct {
       
    63     struct list_head list;
       
    64     ec_device_id_type_t type;
       
    65     unsigned char octets[ETH_ALEN];
       
    66 }
       
    67 ec_device_id_t;
       
    68 
       
    69 /*****************************************************************************/
       
    70 
    56 /**
    71 /**
    57    EtherCAT device.
    72    EtherCAT device.
    58    An EtherCAT device is a network interface card, that is owned by an
    73    An EtherCAT device is a network interface card, that is owned by an
    59    EtherCAT master to send and receive EtherCAT frames with.
    74    EtherCAT master to send and receive EtherCAT frames with.
    60 */
    75 */