|
From: <sv...@va...> - 2011-04-18 10:38:10
|
Author: bart
Date: 2011-04-18 11:37:56 +0100 (Mon, 18 Apr 2011)
New Revision: 11702
Log:
Linux/syswrap: add support for USBDEVFS_RESET (patch contributed by Brad Hards <br...@fr...>).
Modified:
trunk/coregrind/m_syswrap/syswrap-linux.c
trunk/include/vki/vki-linux.h
Modified: trunk/coregrind/m_syswrap/syswrap-linux.c
===================================================================
--- trunk/coregrind/m_syswrap/syswrap-linux.c 2011-04-18 09:41:08 UTC (rev 11701)
+++ trunk/coregrind/m_syswrap/syswrap-linux.c 2011-04-18 10:37:56 UTC (rev 11702)
@@ -4778,6 +4778,8 @@
}
}
break;
+ case VKI_USBDEVFS_RESET:
+ break;
/* I2C (/dev/i2c-*) ioctls */
case VKI_I2C_SLAVE:
Modified: trunk/include/vki/vki-linux.h
===================================================================
--- trunk/include/vki/vki-linux.h 2011-04-18 09:41:08 UTC (rev 11701)
+++ trunk/include/vki/vki-linux.h 2011-04-18 10:37:56 UTC (rev 11702)
@@ -2394,6 +2394,7 @@
#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
|