From fb123f93f9f5ce42c8e5785d2f8e0edaf951740e Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 26 Mar 2014 19:21:20 +0000 Subject: Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2. --- include/VBox/usblib-solaris.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/VBox/usblib-solaris.h') diff --git a/include/VBox/usblib-solaris.h b/include/VBox/usblib-solaris.h index f8c4b4c2..053c326a 100644 --- a/include/VBox/usblib-solaris.h +++ b/include/VBox/usblib-solaris.h @@ -4,7 +4,7 @@ */ /* - * Copyright (C) 2008 Oracle Corporation + * Copyright (C) 2008-2013 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; @@ -126,6 +126,7 @@ typedef struct VUSBXFERTYPE enmType; /* Xfer type */ VUSBDIRECTION enmDir; /* Xfer direction */ VUSBSTATUS enmStatus; /* URB status */ + bool fShortOk; /* Whether receiving less data than requested is acceptable. */ size_t cbData; /* Size of the data */ void *pvData; /* Pointer to the data */ uint32_t cIsocPkts; /* Number of Isoc packets */ @@ -153,8 +154,11 @@ typedef struct typedef enum { - VBOXUSB_RESET_LEVEL_NONE = 0, + /** Close device not a reset. */ + VBOXUSB_RESET_LEVEL_CLOSE = 0, + /** Hard reset resulting in device replug behaviour. */ VBOXUSB_RESET_LEVEL_REATTACH = 2, + /** Device-level reset. */ VBOXUSB_RESET_LEVEL_SOFT = 4 } VBOXUSB_RESET_LEVEL; -- cgit v1.2.1