master/device.h
changeset 573 cdee4ea90ce9
parent 533 acdd1f9ef7ab
child 575 9a2121b500b1
--- a/master/device.h	Fri Feb 16 13:30:46 2007 +0000
+++ b/master/device.h	Fri Feb 16 17:13:39 2007 +0000
@@ -53,6 +53,21 @@
 
 /*****************************************************************************/
 
+typedef enum {
+    ec_device_id_empty,
+    ec_device_id_mac
+}
+ec_device_id_type_t;
+
+typedef struct {
+    struct list_head list;
+    ec_device_id_type_t type;
+    unsigned char octets[ETH_ALEN];
+}
+ec_device_id_t;
+
+/*****************************************************************************/
+
 /**
    EtherCAT device.
    An EtherCAT device is a network interface card, that is owned by an