include/EtherCAT_dev.h
changeset 98 f564d0929292
parent 96 080b46eb6e2d
--- a/include/EtherCAT_dev.h	Thu Mar 02 13:08:07 2006 +0000
+++ b/include/EtherCAT_dev.h	Mon Mar 06 15:12:34 2006 +0000
@@ -14,23 +14,10 @@
 /*****************************************************************************/
 
 struct ec_device;
-
 typedef struct ec_device ec_device_t;
 
 /*****************************************************************************/
 
-typedef enum
-{
-  EC_DEVICE_STATE_READY = 0,
-  EC_DEVICE_STATE_SENT,
-  EC_DEVICE_STATE_RECEIVED,
-  EC_DEVICE_STATE_TIMEOUT,
-  EC_DEVICE_STATE_ERROR
-}
-ec_device_state_t;
-
-/*****************************************************************************/
-
 ec_device_t *EtherCAT_dev_register(unsigned int, struct net_device *,
                                    irqreturn_t (*)(int, void *,
                                                    struct pt_regs *),
@@ -38,7 +25,6 @@
 void EtherCAT_dev_unregister(unsigned int, ec_device_t *);
 
 int EtherCAT_dev_is_ec(const ec_device_t *, const struct net_device *);
-void EtherCAT_dev_state(ec_device_t *, ec_device_state_t);
 void EtherCAT_dev_receive(ec_device_t *, const void *, size_t);
 void EtherCAT_dev_link_state(ec_device_t *, uint8_t);