Mercurial > code > home > repos > light9
comparison dmx_usb_module/dmx_usb.c @ 1681:f9aab7275d4e
try to patch dmx module for new kernel. doesn't work though
Ignore-this: 98abee03a2264234b7fec1700a2b3e68
author | drewp@bigasterisk.com |
---|---|
date | Sun, 11 Jun 2017 21:10:28 +0000 |
parents | 2b2ad8e7cb9f |
children |
comparison
equal
deleted
inserted
replaced
1680:c5d081c5c490 | 1681:f9aab7275d4e |
---|---|
62 /* Module parameters */ | 62 /* Module parameters */ |
63 #if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) ) | 63 #if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) ) |
64 MODULE_PARM(debug, "i"); | 64 MODULE_PARM(debug, "i"); |
65 MODULE_PARM_DESC(debug, "Debug enabled or not"); | 65 MODULE_PARM_DESC(debug, "Debug enabled or not"); |
66 #else | 66 #else |
67 module_param(debug, bool, S_IRUGO | S_IWUSR); | 67 //module_param(debug, bool, S_IRUGO | S_IWUSR); |
68 MODULE_PARM_DESC(debug, "Debug enabled or not"); | 68 //MODULE_PARM_DESC(debug, "Debug enabled or not"); |
69 #endif | 69 #endif |
70 | 70 |
71 static struct usb_device_id dmx_usb_table [] = { | 71 static struct usb_device_id dmx_usb_table [] = { |
72 { USB_DEVICE_VER(FTDI_VID, FTDI_8U232AM_PID, 0x400, 0xffff) }, | 72 { USB_DEVICE_VER(FTDI_VID, FTDI_8U232AM_PID, 0x400, 0xffff) }, |
73 { USB_DEVICE_VER(FTDI_VID, FTDI_8U232AM_ALT_PID, 0x400, 0xffff) }, | 73 { USB_DEVICE_VER(FTDI_VID, FTDI_8U232AM_ALT_PID, 0x400, 0xffff) }, |