Flags for param debug as printed by modinfo are wrong.  I call your
attention to the groups (dma, ioctl, file) and (i2c, irq).

>From cx18-driver.h:

#define CX18_DBGFLG_WARN  (1 << 0)
#define CX18_DBGFLG_INFO  (1 << 1)
#define CX18_DBGFLG_API   (1 << 2)
#define CX18_DBGFLG_DMA   (1 << 3)
#define CX18_DBGFLG_IOCTL (1 << 4)
#define CX18_DBGFLG_FILE  (1 << 5)
#define CX18_DBGFLG_I2C   (1 << 6)
#define CX18_DBGFLG_IRQ   (1 << 7)
/* Flag to turn on high volume debugging */
#define CX18_DBGFLG_HIGHVOL (1 << 8)


>From cx18-driver.c:

MODULE_PARM_DESC(debug,
                 "Debug level (bitmask). Default: 0\n"
                 "\t\t\t  1/0x0001: warning\n"
                 "\t\t\t  2/0x0002: info\n"
                 "\t\t\t  4/0x0004: mailbox\n"
                 "\t\t\t  8/0x0008: ioctl\n"
                 "\t\t\t 16/0x0010: file\n"
                 "\t\t\t 32/0x0020: dma\n"
                 "\t\t\t 64/0x0040: irq\n"
                 "\t\t\t128/0x0080: i2c\n"
                 "\t\t\t256/0x0100: high volume\n");




_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to