mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-22 10:03:51 +08:00
Multi-master support for command-line tool. The --master option supports
ranges like '1-3,6,7-9'. The ioctl() interface version is checked.
This commit is contained in:
@@ -195,6 +195,15 @@ void __exit ec_cleanup_module(void)
|
||||
EC_INFO("Master module cleaned up.\n");
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
/** Get the number of masters.
|
||||
*/
|
||||
unsigned int ec_master_count(void)
|
||||
{
|
||||
return master_count;
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* MAC address functions
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user