Linux/syswrap: add support for USBDEVFS_RESET (patch contributed by Brad Hards <bradh@frogmouth.net>).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11702
This commit is contained in:
Bart Van Assche 2011-04-18 10:37:56 +00:00
parent fce26577fc
commit d077061870
2 changed files with 3 additions and 0 deletions

View File

@ -4778,6 +4778,8 @@ PRE(sys_ioctl)
}
}
break;
case VKI_USBDEVFS_RESET:
break;
/* I2C (/dev/i2c-*) ioctls */
case VKI_I2C_SLAVE:

View File

@ -2394,6 +2394,7 @@ struct vki_usbdevfs_ioctl {
#define VKI_USBDEVFS_REAPURBNDELAY _VKI_IOW('U', 13, void *)
#define VKI_USBDEVFS_CONNECTINFO _VKI_IOW('U', 17, struct vki_usbdevfs_connectinfo)
#define VKI_USBDEVFS_IOCTL _VKI_IOWR('U', 18, struct vki_usbdevfs_ioctl)
#define VKI_USBDEVFS_RESET _VKI_IO('U', 20)
#define VKI_USBDEVFS_URB_TYPE_ISO 0
#define VKI_USBDEVFS_URB_TYPE_INTERRUPT 1