Fix conflicting ioctl numbers and update api version

This commit is contained in:
Werner Sembach 2022-10-07 10:52:56 +02:00
parent 26a4a4b84a
commit 5ee0e18335
2 changed files with 11 additions and 11 deletions

View file

@ -34,7 +34,7 @@
MODULE_DESCRIPTION("Hardware interface for TUXEDO laptops"); MODULE_DESCRIPTION("Hardware interface for TUXEDO laptops");
MODULE_AUTHOR("TUXEDO Computers GmbH <tux@tuxedocomputers.com>"); MODULE_AUTHOR("TUXEDO Computers GmbH <tux@tuxedocomputers.com>");
MODULE_VERSION("0.2.5"); MODULE_VERSION("0.2.6");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_ALIAS_CLEVO_INTERFACES(); MODULE_ALIAS_CLEVO_INTERFACES();

View file

@ -83,17 +83,17 @@
#define R_UW_FANS_OFF_AVAILABLE _IOR(MAGIC_READ_UW, 0x16, int32_t*) #define R_UW_FANS_OFF_AVAILABLE _IOR(MAGIC_READ_UW, 0x16, int32_t*)
#define R_UW_FANS_MIN_SPEED _IOR(MAGIC_READ_UW, 0x17, int32_t*) #define R_UW_FANS_MIN_SPEED _IOR(MAGIC_READ_UW, 0x17, int32_t*)
#define R_UW_TDP0 _IOR(MAGIC_READ_UW, 0x16, int32_t*) #define R_UW_TDP0 _IOR(MAGIC_READ_UW, 0x18, int32_t*)
#define R_UW_TDP1 _IOR(MAGIC_READ_UW, 0x17, int32_t*) #define R_UW_TDP1 _IOR(MAGIC_READ_UW, 0x19, int32_t*)
#define R_UW_TDP2 _IOR(MAGIC_READ_UW, 0x18, int32_t*) #define R_UW_TDP2 _IOR(MAGIC_READ_UW, 0x1a, int32_t*)
#define R_UW_TDP0_MIN _IOR(MAGIC_READ_UW, 0x19, int32_t*) #define R_UW_TDP0_MIN _IOR(MAGIC_READ_UW, 0x1b, int32_t*)
#define R_UW_TDP1_MIN _IOR(MAGIC_READ_UW, 0x1a, int32_t*) #define R_UW_TDP1_MIN _IOR(MAGIC_READ_UW, 0x1c, int32_t*)
#define R_UW_TDP2_MIN _IOR(MAGIC_READ_UW, 0x1b, int32_t*) #define R_UW_TDP2_MIN _IOR(MAGIC_READ_UW, 0x1d, int32_t*)
#define R_UW_TDP0_MAX _IOR(MAGIC_READ_UW, 0x1c, int32_t*) #define R_UW_TDP0_MAX _IOR(MAGIC_READ_UW, 0x1e, int32_t*)
#define R_UW_TDP1_MAX _IOR(MAGIC_READ_UW, 0x1d, int32_t*) #define R_UW_TDP1_MAX _IOR(MAGIC_READ_UW, 0x1f, int32_t*)
#define R_UW_TDP2_MAX _IOR(MAGIC_READ_UW, 0x1e, int32_t*) #define R_UW_TDP2_MAX _IOR(MAGIC_READ_UW, 0x20, int32_t*)
#define R_UW_PROFS_AVAILABLE _IOR(MAGIC_READ_UW, 0x1f, int32_t*) #define R_UW_PROFS_AVAILABLE _IOR(MAGIC_READ_UW, 0x21, int32_t*)
// Write // Write
#define W_UW_FANSPEED _IOW(MAGIC_WRITE_UW, 0x10, int32_t*) #define W_UW_FANSPEED _IOW(MAGIC_WRITE_UW, 0x10, int32_t*)