master/master.h
changeset 182 8c0bc99229a9
parent 179 fb4c9dd11ca0
child 191 ca805255a935
equal deleted inserted replaced
181:3e9155836bc7 182:8c0bc99229a9
    13 
    13 
    14 #include <linux/list.h>
    14 #include <linux/list.h>
    15 #include <linux/sysfs.h>
    15 #include <linux/sysfs.h>
    16 
    16 
    17 #include "device.h"
    17 #include "device.h"
    18 #include "slave.h"
       
    19 #include "domain.h"
    18 #include "domain.h"
    20 
    19 
    21 /*****************************************************************************/
    20 /*****************************************************************************/
    22 
    21 
    23 /**
    22 /**
    47 struct ec_master
    46 struct ec_master
    48 {
    47 {
    49     struct list_head list; /**< Noetig fuer Master-Liste */
    48     struct list_head list; /**< Noetig fuer Master-Liste */
    50     struct kobject kobj; /**< Kernel-Object */
    49     struct kobject kobj; /**< Kernel-Object */
    51     unsigned int index; /**< Master-Index */
    50     unsigned int index; /**< Master-Index */
    52     ec_slave_t *slaves; /**< Array von Slaves auf dem Bus */
    51     struct list_head slaves; /**< Liste der Slaves auf dem Bus */
    53     unsigned int slave_count; /**< Anzahl Slaves auf dem Bus */
    52     unsigned int slave_count; /**< Anzahl Slaves auf dem Bus */
    54     ec_device_t *device; /**< EtherCAT-Gerät */
    53     ec_device_t *device; /**< EtherCAT-Gerät */
    55     struct list_head command_queue; /**< Kommando-Warteschlange */
    54     struct list_head command_queue; /**< Kommando-Warteschlange */
    56     uint8_t command_index; /**< Aktueller Kommando-Index */
    55     uint8_t command_index; /**< Aktueller Kommando-Index */
    57     struct list_head domains; /**< Liste der Prozessdatendomänen */
    56     struct list_head domains; /**< Liste der Prozessdatendomänen */