aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_core.h
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-06-12 15:58:55 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-06-12 15:58:55 +0000
commita755d548b73104090f4e304a80d2a4d61a75c505 (patch)
tree242b51da9fc866c3f4a352e680164eead43946b6 /sys/dev/usb/usb_core.h
parent7b495c449475e00df3f60227247279883d891bcf (diff)
Notes
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.