aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2008-03-20 03:09:59 +0000
committerSam Leffler <sam@FreeBSD.org>2008-03-20 03:09:59 +0000
commit9f55d2bb94b53e289a4108760a5fc4d43ec7d2da (patch)
treeddc630578918df6b943bacf26ad615078af00935
parent52e95411f8e8a063bec4b7ceee6afbe49f60de09 (diff)
Notes
-rw-r--r--sys/dev/usb/usbdi.h2
-rw-r--r--sys/dev/usb/usbdivar.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h
index b3b26cff757b..cee2de0c4c15 100644
--- a/sys/dev/usb/usbdi.h
+++ b/sys/dev/usb/usbdi.h
@@ -88,6 +88,8 @@ typedef void (*usbd_callback)(usbd_xfer_handle, usbd_private_handle,
/* in usb.h #define USBD_SHORT_XFER_OK 0x04*/ /* allow short reads */
#define USBD_FORCE_SHORT_XFER 0x08 /* force last short packet on write */
+#define USBD_BITS "\20\1NO_COPY\2SYNCHRONOUS\4FORCE_SHORT_XFER"
+
#define USBD_NO_TIMEOUT 0
#define USBD_DEFAULT_TIMEOUT 5000 /* ms = 5 s */
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h
index 95d8e0eff1fe..603d6910405d 100644
--- a/sys/dev/usb/usbdivar.h
+++ b/sys/dev/usb/usbdivar.h
@@ -240,6 +240,8 @@ struct usbd_xfer {
struct callout timeout_handle;
};
+#define URQ_BITS "\20\1REQUEST\5AUTO_DMABUF\6DEV_DMABUF"
+
void usbd_init(void);
void usbd_finish(void);