Reference Driver

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015
70 Rev. 2.7
6.9.4 M1966_DEBUG_LEVEL_SET
Description
Sets the driver trace mask to enable or disable run-time trace messages. Multiple trace masks can be
ORed together.
#define M1966_DEBUG_LEVEL_SET _IOWR(0xA4,0xE1,unsigned int)
Prototype
int ioctl (
int dev_fd,
int M1966_DEBUG_LEVEL_SET,
unsigned long param );
Parameters
Data Type Name Description
int
dev_fd
Device descriptor.
int
M1966_DEBUG_LEVEL_SET
I/O control identifier for this operation.
unsigned long param
Debug trace mask:
M1966_DEBUG_TRACE_MASK
.
Return Values
Data Type Description
int
-1 Failed set debug level mask.
0 – Successful.