diff options
Diffstat (limited to 'wctdm.h')
-rwxr-xr-x | wctdm.h | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -39,6 +39,13 @@ struct wcfxs_regs { unsigned short indirect[NUM_INDIRECT_REGS]; }; -#define WCFXS_GET_STATS _IOW (ZT_CODE, 60, struct wcfxs_stats) -#define WCFXS_GET_REGS _IOW (ZT_CODE, 60, struct wcfxs_regs) +struct wcfxs_regop { + int indirect; + unsigned char reg; + unsigned short val; +}; + +#define WCFXS_GET_STATS _IOR (ZT_CODE, 60, struct wcfxs_stats) +#define WCFXS_GET_REGS _IOR (ZT_CODE, 61, struct wcfxs_regs) +#define WCFXS_SET_REG _IOW (ZT_CODE, 62, struct wcfxs_regop) |