add another ioctl-stub
authormichael <michael>
Wed, 14 Mar 2007 19:15:00 +0000 (19:15 +0000)
committermichael <michael>
Wed, 14 Mar 2007 19:15:00 +0000 (19:15 +0000)
usb-driver.c
usb-driver.h

index 890e494287ffa87187a756f8a0e27a7ed12bcd09..853c38ccdffad5bd23413dd52c0db518fb74b37d 100644 (file)
@@ -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);
 #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");
                        }
 #endif
                        DPRINTF("CARD_REGISTER\n");
@@ -528,6 +531,13 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) {
 #endif
                        break;
 
 #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
                case EVENT_UNREGISTER:
                        DPRINTF("EVENT_UNREGISTER\n");
 #ifndef NO_WINDRVR
index cca83a56198e772bb69cc67d89d1b2b84f050d45..1c8c7795da2306f00ea7072c91b5d222922bcb46 100644 (file)
@@ -1,6 +1,7 @@
 #define VERSION                        0x910
 #define LICENSE                        0x952
 #define TRANSFER               0x98c
 #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
 #define USB_TRANSFER           0x983
 #define EVENT_UNREGISTER       0x987
 #define INT_DISABLE            0x91f
Impressum, Datenschutz