summaryrefslogtreecommitdiff
path: root/include/VBox/usblib-solaris.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/VBox/usblib-solaris.h')
-rw-r--r--include/VBox/usblib-solaris.h8
1 files changed, 6 insertions, 2 deletions
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;