From 576995a8663c7f9da1d65e05cb35dbf86cdb66e9 Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 14 Mar 2007 19:15:00 +0000 Subject: [PATCH 1/1] add another ioctl-stub --- usb-driver.c | 10 ++++++++++ usb-driver.h | 1 + 2 files changed, 11 insertions(+) diff --git a/usb-driver.c b/usb-driver.c index 890e494..853c38c 100644 --- a/usb-driver.c +++ b/usb-driver.c @@ -258,6 +258,9 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) { #if 0 { struct card_register* cr = (struct card_register*)(wdheader->data); +#ifndef NO_WINDRVR + ret = (*ioctl_func) (fd, request, wdioctl); +#endif } #endif DPRINTF("CARD_REGISTER\n"); @@ -528,6 +531,13 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) { #endif break; + case MULTI_TRANSFER: + DPRINTF("MULTI_TRANSFER\n"); +#ifndef NO_WINDRVR + ret = (*ioctl_func) (fd, request, wdioctl); +#endif + break; + case EVENT_UNREGISTER: DPRINTF("EVENT_UNREGISTER\n"); #ifndef NO_WINDRVR diff --git a/usb-driver.h b/usb-driver.h index cca83a5..1c8c779 100644 --- a/usb-driver.h +++ b/usb-driver.h @@ -1,6 +1,7 @@ #define VERSION 0x910 #define LICENSE 0x952 #define TRANSFER 0x98c +#define MULTI_TRANSFER 0x98d #define USB_TRANSFER 0x983 #define EVENT_UNREGISTER 0x987 #define INT_DISABLE 0x91f -- 2.39.5