aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb2/core/usb2_request.h
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-02-09 21:56:33 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-02-09 21:56:33 +0000
commit559f11917d68d9b204e048cc8abc1260d7a25e64 (patch)
tree2748b1c4373c619a63e26bfd471adb0551de602d /sys/dev/usb2/core/usb2_request.h
parent8259ac931398a5f48c6623f7d2abd3b587ffa0d7 (diff)
downloadsrc-559f11917d68d9b204e048cc8abc1260d7a25e64.tar.gz
src-559f11917d68d9b204e048cc8abc1260d7a25e64.zip
MFp4 //depot/projects/usb; 157069, 157429, 157430
- Change "usb2_pause_mtx" so that it takes the timeout value in ticks - Factor out USB ethernet and USB serial driver specific control request. - USB process naming cleanup. Submitted by: Hans Petter Selasky
Notes
Notes: svn path=/head/; revision=188411
Diffstat (limited to 'sys/dev/usb2/core/usb2_request.h')
-rw-r--r--sys/dev/usb2/core/usb2_request.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/usb2/core/usb2_request.h b/sys/dev/usb2/core/usb2_request.h
index b33e0a1d6a15..8a360b71b455 100644
--- a/sys/dev/usb2/core/usb2_request.h
+++ b/sys/dev/usb2/core/usb2_request.h
@@ -27,9 +27,14 @@
#ifndef _USB2_REQUEST_H_
#define _USB2_REQUEST_H_
+struct usb2_process;
+
usb2_error_t usb2_do_request_flags(struct usb2_device *udev, struct mtx *mtx,
struct usb2_device_request *req, void *data, uint32_t flags,
uint16_t *actlen, uint32_t timeout);
+usb2_error_t usb2_do_request_proc(struct usb2_device *udev, struct usb2_process *pproc,
+ struct usb2_device_request *req, void *data, uint32_t flags,
+ uint16_t *actlen, uint32_t timeout);
usb2_error_t usb2_req_clear_hub_feature(struct usb2_device *udev,
struct mtx *mtx, uint16_t sel);
usb2_error_t usb2_req_clear_port_feature(struct usb2_device *udev,