diff options
author | Joey Goncalves <jgoncalves@peragrin.com> | 2007-04-20 14:05:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 16:28:42 -0400 |
commit | 79dcdbf67d8885375711c4f2261168fa87389a31 (patch) | |
tree | fb083c7c8a70fa8bf368eb7022b67a4ffae78507 /drivers | |
parent | 527660a819f513edc52fea6bcb4068ce1d4d966b (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/misc/ldusb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/misc/ldusb.c b/drivers/usb/misc/ldusb.c index 788a11e6772f..11555bde655b 100644 --- a/drivers/usb/misc/ldusb.c +++ b/drivers/usb/misc/ldusb.c | |||
@@ -62,6 +62,8 @@ | |||
62 | #define USB_DEVICE_ID_VERNIER_SKIP 0x0003 | 62 | #define USB_DEVICE_ID_VERNIER_SKIP 0x0003 |
63 | #define USB_DEVICE_ID_VERNIER_CYCLOPS 0x0004 | 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 | #ifdef CONFIG_USB_DYNAMIC_MINORS | 68 | #ifdef CONFIG_USB_DYNAMIC_MINORS |
67 | #define USB_LD_MINOR_BASE 0 | 69 | #define USB_LD_MINOR_BASE 0 |
@@ -89,6 +91,7 @@ static struct usb_device_id ld_usb_table [] = { | |||
89 | { USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_GOTEMP) }, | 91 | { USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_GOTEMP) }, |
90 | { USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_SKIP) }, | 92 | { USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_SKIP) }, |
91 | { USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_CYCLOPS) }, | 93 | { USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_CYCLOPS) }, |
94 | { USB_DEVICE(USB_VENDOR_ID_MICROCHIP, USB_DEVICE_ID_PICDEM) }, | ||
92 | { } /* Terminating entry */ | 95 | { } /* Terminating entry */ |
93 | }; | 96 | }; |
94 | MODULE_DEVICE_TABLE(usb, ld_usb_table); | 97 | MODULE_DEVICE_TABLE(usb, ld_usb_table); |