summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorjmcneill <jmcneill@NetBSD.org>2008-08-02 23:14:34 +0000
committerjmcneill <jmcneill@NetBSD.org>2008-08-02 23:14:34 +0000
commitcd4f8360bb9a3ad455c5e11ce6087a9f94cfe3e9 (patch)
treefc615c8e8077367135e3b6d7204ac9499e631b5b /sys/dev
parentc4b944ba64813a38e481d5f5607acc8726af9411 (diff)
High speed isochronous transfer support, from Jeremy Morse as part of
Google Summer of Code 2008.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/usb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h
index a748597e408..2a005affe77 100644
--- a/sys/dev/usb/usb.h
+++ b/sys/dev/usb/usb.h
@@ -1,4 +1,4 @@
-/* $NetBSD: usb.h,v 1.81 2008/06/18 14:20:31 jmcneill Exp $ */
+/* $NetBSD: usb.h,v 1.82 2008/08/02 23:14:34 jmcneill Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb.h,v 1.14 1999/11/17 22:33:46 n_hibma Exp $ */
/*
@@ -244,6 +244,8 @@ typedef struct {
#define UE_ISO_SYNC 0x0c
#define UE_GET_ISO_TYPE(a) ((a) & UE_ISO_TYPE)
uWord wMaxPacketSize;
+#define UE_GET_TRANS(a) (((a) >> 11) & 0x3)
+#define UE_GET_SIZE(a) ((a) & 0x7ff)
uByte bInterval;
} UPACKED usb_endpoint_descriptor_t;
#define USB_ENDPOINT_DESCRIPTOR_SIZE 7