Removed ec_eoeif_count parameter from master module.

This commit is contained in:
Florian Pose 2007-02-16 13:30:46 +00:00
parent 2cbddbb9d1
commit cef0cc6409
1 changed files with 1 additions and 4 deletions

View File

@ -55,7 +55,6 @@ void __exit ec_cleanup_module(void);
/*****************************************************************************/
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 @@ char *ec_master_version_str = EC_MASTER_VERSION;
/** \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 @@ int __init ec_init_module(void)
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);