Removed ec_eoeif_count parameter from master module.
authorFlorian Pose <fp@igh-essen.com>
Fri, 16 Feb 2007 13:30:46 +0000
changeset 572 aef7ea866a41
parent 571 deb7fcb92dd7
child 573 cdee4ea90ce9
Removed ec_eoeif_count parameter from master module.
master/module.c
--- a/master/module.c	Fri Feb 16 13:23:57 2007 +0000
+++ b/master/module.c	Fri Feb 16 13:30:46 2007 +0000
@@ -55,7 +55,6 @@
 /*****************************************************************************/
 
 static int ec_master_count = 1; /**< parameter value, number of masters */
-static int ec_eoeif_count = 0; /**< parameter value, number of EoE interf. */
 static struct list_head ec_masters; /**< list of masters */
 static dev_t device_number; /**< XML character device number */
 ec_xmldev_t xmldev; /**< XML character device */
@@ -67,14 +66,12 @@
 /** \cond */
 
 module_param(ec_master_count, int, S_IRUGO);
-module_param(ec_eoeif_count, int, S_IRUGO);
 
 MODULE_AUTHOR("Florian Pose <fp@igh-essen.com>");
 MODULE_DESCRIPTION("EtherCAT master driver module");
 MODULE_LICENSE("GPL");
 MODULE_VERSION(EC_MASTER_VERSION);
 MODULE_PARM_DESC(ec_master_count, "number of EtherCAT masters to initialize");
-MODULE_PARM_DESC(ec_eoeif_count, "number of EoE interfaces per master");
 
 /** \endcond */
 
@@ -114,7 +111,7 @@
             goto out_free;
         }
 
-        if (ec_master_init(master, i, ec_eoeif_count))
+        if (ec_master_init(master, i, 0))
             goto out_free;
 
         list_add_tail(&master->list, &ec_masters);