1
0

add another ioctl-stub

This commit is contained in:
michael 2007-03-14 19:15:00 +00:00
parent bdc65937d6
commit 576995a866
2 changed files with 11 additions and 0 deletions

View 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);
#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

View File

@ -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