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:
Florian Pose
2010-02-24 16:27:11 +01:00
parent edf5fdf61f
commit f41dadb84f
61 changed files with 916 additions and 298 deletions
+9
View File
@@ -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
****************************************************************************/