Index: uspace/lib/drv/include/usbhc_iface.h
===================================================================
--- uspace/lib/drv/include/usbhc_iface.h	(revision db51a6a671d00feb477a7c35b072e80c77fe4a6f)
+++ uspace/lib/drv/include/usbhc_iface.h	(revision 92a7b2960054bcf03d5c72c214ace89ae53f4d2b)
@@ -60,10 +60,15 @@
  * Negative values could be used to indicate error.
  */
-typedef int16_t usb_endpoint_t;
+typedef uint16_t usb_endpoint_t;
 
 /** USB address type.
  * Negative values could be used to indicate error.
  */
-typedef int16_t usb_address_t;
+typedef uint16_t usb_address_t;
+
+/**
+ * USB Stream ID type.
+ */
+typedef uint16_t usb_stream_t;
 
 /** USB transfer type. */
@@ -72,6 +77,8 @@
 	USB_TRANSFER_ISOCHRONOUS = 1,
 	USB_TRANSFER_BULK = 2,
-	USB_TRANSFER_INTERRUPT = 3
+	USB_TRANSFER_INTERRUPT = 3,
 } usb_transfer_type_t;
+
+#define USB_TRANSFER_COUNT  (USB_TRANSFER_INTERRUPT + 1)
 
 /** USB data transfer direction. */
@@ -79,6 +86,8 @@
 	USB_DIRECTION_IN,
 	USB_DIRECTION_OUT,
-	USB_DIRECTION_BOTH
+	USB_DIRECTION_BOTH,
 } usb_direction_t;
+
+#define USB_DIRECTION_COUNT  (USB_DIRECTION_BOTH + 1)
 
 /** USB complete address type.
@@ -89,5 +98,5 @@
 		usb_address_t address;
 		usb_endpoint_t endpoint;
-		uint32_t stream;
+		usb_stream_t stream;
 	} __attribute__((packed));
 	uint64_t packed;
