Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: add picdem device to ldusb

Hi Greg:

I have found that /drivers/usb/misc/ldusb.c works with the "PICDEM Full
Speed USB"
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en021940


Signed-off-by: Joey S Goncalves <jgoncalves@peragrin.com>
Cc: Michael Hund <MHund@LD-Didactic.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Joey Goncalves and committed by
Greg Kroah-Hartman
79dcdbf6 527660a8

+3
+3
drivers/usb/misc/ldusb.c
··· 62 62 #define USB_DEVICE_ID_VERNIER_SKIP 0x0003 63 63 #define USB_DEVICE_ID_VERNIER_CYCLOPS 0x0004 64 64 65 + #define USB_VENDOR_ID_MICROCHIP 0x04d8 66 + #define USB_DEVICE_ID_PICDEM 0x000c 65 67 66 68 #ifdef CONFIG_USB_DYNAMIC_MINORS 67 69 #define USB_LD_MINOR_BASE 0 ··· 91 89 { USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_GOTEMP) }, 92 90 { USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_SKIP) }, 93 91 { USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_CYCLOPS) }, 92 + { USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICDEM) }, 94 93 { } /* Terminating entry */ 95 94 }; 96 95 MODULE_DEVICE_TABLE(usb, ld_usb_table);