updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / hdjmod / dj_console_mp3_e2.patch
blobdde59e13fa5a89e7a997f70b447fc9f08a23c15a
1 --- device.c.orig 2010-12-12 16:34:17.866666668 +0100
2 +++ device.c 2011-01-09 12:17:06.000000000 +0100
3 @@ -1828,6 +1828,8 @@ static int usbid_to_product_code(u32 usb
4 return DJCONTROLLER_PRODUCT_CODE;
5 } else if (usbid == USB_ID(USB_HDJ_VENDOR_ID, DJ_CONTROL_MP3W_PID)) {
6 return DJCONTROLLER_PRODUCT_CODE;
7 + } else if (usbid == USB_ID(USB_HDJ_VENDOR_ID, DJ_CONTROL_MP3E2_PID)) {
8 + return DJCONTROLSTEEL_PRODUCT_CODE;
9 } else {
10 return DJCONSOLE_PRODUCT_UNKNOWN;
12 @@ -1860,6 +1862,7 @@ static int hdj_probe(struct usb_interfac
13 (le16_to_cpu(usb_dev->descriptor.idProduct)!=DJ_CONSOLE_RMX_PID)&&
14 (le16_to_cpu(usb_dev->descriptor.idProduct)!=DJ_CONTROL_MP3_PID)&&
15 (le16_to_cpu(usb_dev->descriptor.idProduct)!=DJ_CONTROL_MP3W_PID)&&
16 + (le16_to_cpu(usb_dev->descriptor.idProduct)!=DJ_CONTROL_MP3E2_PID)&&
17 (le16_to_cpu(usb_dev->descriptor.idProduct)!=DJ_CONSOLE_STEEL_PID))
19 printk(KERN_INFO"hdj_probe() unsupported device, idVendor%lx, idProduct:%lx\n",
20 --- device.h.orig 2009-01-27 15:25:50.000000000 +0100
21 +++ device.h 2011-01-09 12:19:22.000000000 +0100
22 @@ -38,6 +38,7 @@ extern int netlink_unit;
23 #define DJ_CONSOLE_RMX_PID 0xb101
24 #define DJ_CONTROL_MP3_PID 0xd000
25 #define DJ_CONTROL_MP3W_PID 0xd001
26 +#define DJ_CONTROL_MP3E2_PID 0xb105
27 #define DJ_CONSOLE_STEEL_PID 0xb102
29 #define DJ_BULK_IFNUM 0