Browse Source

add another ioctl-stub

master
michael 18 years ago
parent
commit
576995a866
  1. 10
      usb-driver.c
  2. 1
      usb-driver.h

10
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

1
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

Loading…
Cancel
Save