]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Linux/syswrap: add support for USBDEVFS_RESET (patch contributed by Brad Hards <bradh...
authorBart Van Assche <bvanassche@acm.org>
Mon, 18 Apr 2011 10:37:56 +0000 (10:37 +0000)
committerBart Van Assche <bvanassche@acm.org>
Mon, 18 Apr 2011 10:37:56 +0000 (10:37 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11702

coregrind/m_syswrap/syswrap-linux.c
include/vki/vki-linux.h

index df5654a0245027c6916716aa33443bf03c03107a..4d3dca909264a2b4a1e8844ee42a51bebb81546b 100644 (file)
@@ -4778,6 +4778,8 @@ PRE(sys_ioctl)
          }
       }
       break;
+   case VKI_USBDEVFS_RESET:
+      break;
 
       /* I2C (/dev/i2c-*) ioctls */
    case VKI_I2C_SLAVE:
index cfd47680faef96a7ebeaa261d3b2336f9b6a1296..eee044d5649a2661a6e72e369be6a5f0338132b7 100644 (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