mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Expose and clarify uw WMI read/write method as parameter
This commit is contained in:
parent
2440ed47b5
commit
f6226ac07a
|
@ -341,5 +341,14 @@ MODULE_DESCRIPTION("Driver for Uniwill WMI interface");
|
||||||
MODULE_VERSION("0.0.1");
|
MODULE_VERSION("0.0.1");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
|
||||||
|
/*
|
||||||
|
* If set to true, the module will use the replicated WMI functions
|
||||||
|
* (direct ec_read/ec_write) to read and write to the EC RAM instead
|
||||||
|
* of the original. Since the original functions, in all observed cases,
|
||||||
|
* use excessive delays, they are not preferred.
|
||||||
|
*/
|
||||||
|
module_param_cb(ec_direct_io, ¶m_ops_bool, &uniwill_ec_direct, S_IWUSR | S_IRUSR | S_IRGRP | S_IROTH);
|
||||||
|
MODULE_PARM_DESC(ec_direct_io, "Do not use WMI methods to read/write EC RAM (default: true).");
|
||||||
|
|
||||||
MODULE_DEVICE_TABLE(wmi, uniwill_wmi_device_ids);
|
MODULE_DEVICE_TABLE(wmi, uniwill_wmi_device_ids);
|
||||||
MODULE_ALIAS_UNIWILL_WMI();
|
MODULE_ALIAS_UNIWILL_WMI();
|
||||||
|
|
Loading…
Reference in a new issue