drivers/ec_master.h
branchkernel2.6
changeset 27 d75ef6b46e33
parent 19 a51289e6cb2d
child 33 f4171b8aadf8
--- a/drivers/ec_master.h	Fri Dec 02 12:59:21 2005 +0000
+++ b/drivers/ec_master.h	Fri Dec 02 15:35:21 2005 +0000
@@ -56,9 +56,13 @@
 /***************************************************************/
 
 // Master creation and deletion
-int EtherCAT_master_init(EtherCAT_master_t *, EtherCAT_device_t *);
+void EtherCAT_master_init(EtherCAT_master_t *);
 void EtherCAT_master_clear(EtherCAT_master_t *);
 
+// Registration of devices
+int EtherCAT_register_device(EtherCAT_master_t *, EtherCAT_device_t *);
+void EtherCAT_unregister_device(EtherCAT_master_t *, EtherCAT_device_t *);
+
 // Sending and receiving
 int EtherCAT_simple_send_receive(EtherCAT_master_t *, EtherCAT_command_t *);
 int EtherCAT_simple_send(EtherCAT_master_t *, EtherCAT_command_t *);