aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usb_core.h')
-rw-r--r--sys/dev/usb/usb_core.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_core.h b/sys/dev/usb/usb_core.h
index d35351c0f7e4..12e1368950de 100644
--- a/sys/dev/usb/usb_core.h
+++ b/sys/dev/usb/usb_core.h
@@ -215,6 +215,11 @@
#define USB_ST_TRANSFERRED 1
#define USB_ST_ERROR 2
+/* USB handle request states */
+#define USB_HR_NOT_COMPLETE 0
+#define USB_HR_COMPLETE_OK 1
+#define USB_HR_COMPLETE_ERR 2
+
/*
* The following macro will return the current state of an USB
* transfer like defined by the "USB_ST_XXX" enums.