From b17f532a557b28232b1cfe8262e56ba9679f3821 Mon Sep 17 00:00:00 2001 From: marschap Date: Mon, 2 Oct 2006 11:32:48 +0000 Subject: [PATCH] add support for IOWarrior56 --- server/drivers/IOWarrior.c | 3 ++- server/drivers/IOWarrior.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/server/drivers/IOWarrior.c b/server/drivers/IOWarrior.c index d423e61..948393b 100644 --- a/server/drivers/IOWarrior.c +++ b/server/drivers/IOWarrior.c @@ -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); diff --git a/server/drivers/IOWarrior.h b/server/drivers/IOWarrior.h index c4cac92..fab1ec0 100644 --- a/server/drivers/IOWarrior.h +++ b/server/drivers/IOWarrior.h @@ -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