Changeset - f9aab7275d4e
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 8 years ago 2017-06-11 21:10:28
drewp@bigasterisk.com
try to patch dmx module for new kernel. doesn't work though
Ignore-this: 98abee03a2264234b7fec1700a2b3e68
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
dmx_usb_module/dmx_usb.c
Show inline comments
 
@@ -55,26 +55,26 @@
 
#endif
 

	
 
/* Version Information */
 
#define DRIVER_VERSION "v0.1.20111215"
 
#define DRIVER_AUTHOR "Erwin Rol, erwin@erwinrol.com"
 
#define DRIVER_DESC "DMX USB Driver"
 

	
 
/* Module parameters */
 
#if ( LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) )
 
MODULE_PARM(debug, "i");
 
MODULE_PARM_DESC(debug, "Debug enabled or not");
 
#else
 
module_param(debug, bool, S_IRUGO | S_IWUSR);
 
MODULE_PARM_DESC(debug, "Debug enabled or not");
 
//module_param(debug, bool, S_IRUGO | S_IWUSR);
 
//MODULE_PARM_DESC(debug, "Debug enabled or not");
 
#endif
 

	
 
static struct usb_device_id dmx_usb_table [] = {
 
	{ USB_DEVICE_VER(FTDI_VID, FTDI_8U232AM_PID, 0x400, 0xffff) },
 
	{ USB_DEVICE_VER(FTDI_VID, FTDI_8U232AM_ALT_PID, 0x400, 0xffff) },
 
	{ }                                             /* Terminating entry */
 
};
 

	
 
MODULE_DEVICE_TABLE (usb, dmx_usb_table);
 

	
 
/* Get a minor range for your devices from the usb maintainer */
 
#define DMX_USB_MINOR_BASE	192
0 comments (0 inline, 0 general)