add support for IOWarrior56

This commit is contained in:
marschap
2006-10-02 11:32:48 +00:00
parent cb31c7b975
commit b17f532a55
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -308,7 +308,8 @@ PrivateData *p;
/* Check if this device is a Code Mercenaries IO-Warrior */
if ((dev->descriptor.idVendor == iowVendor) &&
((dev->descriptor.idProduct == iowProd24) ||
(dev->descriptor.idProduct == iowProd40))) {
(dev->descriptor.idProduct == iowProd40) ||
(dev->descriptor.idProduct == iowProd56))) {
/* IO-Warrior found; try to find it's description and serial number */
p->udh = usb_open(dev);
+1
View File
@@ -39,6 +39,7 @@
#define iowVendor 0x07c0 /* CodeMercs */
#define iowProd40 0x1500 /* IOW40 */
#define iowProd24 0x1501 /* IOW24 */
#define iowProd56 0x1503 /* IOW56 */
#define iowTimeout 1000
#define USB_REQ_SET_REPORT 0x09