From: michael Date: Wed, 14 Mar 2007 16:58:35 +0000 (+0000) Subject: add support for ise 8.1i X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/usb-driver/commitdiff_plain/f152c0487083cbc0caa2823b3eaaa04b50712016 add support for ise 8.1i --- diff --git a/usb-driver.c b/usb-driver.c index 8558c6a..dc4cf85 100644 --- a/usb-driver.c +++ b/usb-driver.c @@ -252,6 +252,7 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) { DPRINTF("LICENSE\n"); break; + case CARD_REGISTER_OLD: case CARD_REGISTER: /* TODO: Implement for LPT-support */ #if 0 @@ -321,6 +322,7 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) { } break; + case INT_ENABLE_OLD: case INT_ENABLE: DPRINTF("INT_ENABLE\n"); { @@ -403,6 +405,7 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) { } break; + case USB_GET_DEVICE_DATA_OLD: case USB_GET_DEVICE_DATA: DPRINTF("USB_GET_DEVICE_DATA\n"); { @@ -424,6 +427,7 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) { } break; + case EVENT_REGISTER_OLD: case EVENT_REGISTER: DPRINTF("EVENT_REGISTER\n"); { @@ -516,6 +520,7 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) { } break; + case TRANSFER_OLD: case TRANSFER: DPRINTF("TRANSFER\n"); #ifndef NO_WINDRVR diff --git a/usb-driver.h b/usb-driver.h index cabc48e..2563ffb 100644 --- a/usb-driver.h +++ b/usb-driver.h @@ -13,6 +13,11 @@ #define INT_ENABLE 0x98e #define EVENT_PULL 0x988 #define USB_SET_INTERFACE 0x981 +#define CARD_REGISTER_OLD 0x97d +#define INT_ENABLE_OLD 0x91e +#define USB_GET_DEVICE_DATA_OLD 0x980 +#define EVENT_REGISTER_OLD 0x986 +#define TRANSFER_OLD 0x903 #else #define VERSION 0xc0000910 #define LICENSE 0xc0000952 @@ -28,6 +33,11 @@ #define INT_ENABLE 0xc000098e #define EVENT_PULL 0xc0000988 #define USB_SET_INTERFACE 0xc0000981 +#define CARD_REGISTER_OLD 0xc000097d +#define INT_ENABLE_OLD 0xc000091e +#define USB_GET_DEVICE_DATA_OLD 0xc0000980 +#define EVENT_REGISTER_OLD 0xc0000986 +#define TRANSFER_OLD 0xc0000903 #endif #define MAGIC 0xa410b413UL