add another ioctl-stub
This commit is contained in:
parent
bdc65937d6
commit
576995a866
10
usb-driver.c
10
usb-driver.c
@ -258,6 +258,9 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) {
|
|||||||
#if 0
|
#if 0
|
||||||
{
|
{
|
||||||
struct card_register* cr = (struct card_register*)(wdheader->data);
|
struct card_register* cr = (struct card_register*)(wdheader->data);
|
||||||
|
#ifndef NO_WINDRVR
|
||||||
|
ret = (*ioctl_func) (fd, request, wdioctl);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
DPRINTF("CARD_REGISTER\n");
|
DPRINTF("CARD_REGISTER\n");
|
||||||
@ -528,6 +531,13 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) {
|
|||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case MULTI_TRANSFER:
|
||||||
|
DPRINTF("MULTI_TRANSFER\n");
|
||||||
|
#ifndef NO_WINDRVR
|
||||||
|
ret = (*ioctl_func) (fd, request, wdioctl);
|
||||||
|
#endif
|
||||||
|
break;
|
||||||
|
|
||||||
case EVENT_UNREGISTER:
|
case EVENT_UNREGISTER:
|
||||||
DPRINTF("EVENT_UNREGISTER\n");
|
DPRINTF("EVENT_UNREGISTER\n");
|
||||||
#ifndef NO_WINDRVR
|
#ifndef NO_WINDRVR
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#define VERSION 0x910
|
#define VERSION 0x910
|
||||||
#define LICENSE 0x952
|
#define LICENSE 0x952
|
||||||
#define TRANSFER 0x98c
|
#define TRANSFER 0x98c
|
||||||
|
#define MULTI_TRANSFER 0x98d
|
||||||
#define USB_TRANSFER 0x983
|
#define USB_TRANSFER 0x983
|
||||||
#define EVENT_UNREGISTER 0x987
|
#define EVENT_UNREGISTER 0x987
|
||||||
#define INT_DISABLE 0x91f
|
#define INT_DISABLE 0x91f
|
||||||
|
Reference in New Issue
Block a user