summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_dynamic.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-04-22 17:08:16 +0000
committerthompsa <thompsa@FreeBSD.org>2009-04-22 17:08:16 +0000
commitd07d36e872344cbf63c8ed718e8c1201fe879fb9 (patch)
tree5467fd04839124e57ba2eecd2dcb6736316ed6f9 /sys/dev/usb/usb_dynamic.h
parent7fc43d9a769b211f3caad87ea1751e8ba13c4d51 (diff)
downloadFreeBSD-src-d07d36e872344cbf63c8ed718e8c1201fe879fb9.zip
FreeBSD-src-d07d36e872344cbf63c8ed718e8c1201fe879fb9.tar.gz
MFp4 //depot/projects/usb@160930
Change the roothub exec functions to take the usb request and data pointers directly rather than placing them on the parent bus struct. Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_dynamic.h')
-rw-r--r--sys/dev/usb/usb_dynamic.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/usb/usb_dynamic.h b/sys/dev/usb/usb_dynamic.h
index 2c45d09..4ca62af 100644
--- a/sys/dev/usb/usb_dynamic.h
+++ b/sys/dev/usb/usb_dynamic.h
@@ -43,14 +43,11 @@ typedef uint8_t (usb2_test_quirk_t)(const struct usb2_lookup_info *info,
uint16_t quirk);
typedef int (usb2_quirk_ioctl_t)(unsigned long cmd, caddr_t data,
int fflag, struct thread *td);
-typedef void (usb2_temp_get_desc_t)(struct usb2_device *udev,
- struct usb2_device_request *req, const void **pPtr,
- uint16_t *pLength);
typedef void (usb2_temp_unsetup_t)(struct usb2_device *udev);
/* global function pointers */
-extern usb2_temp_get_desc_t *usb2_temp_get_desc_p;
+extern usb2_handle_request_t *usb2_temp_get_desc_p;
extern usb2_temp_setup_by_index_t *usb2_temp_setup_by_index_p;
extern usb2_temp_unsetup_t *usb2_temp_unsetup_p;
extern usb2_test_quirk_t *usb2_test_quirk_p;
OpenPOWER on IntegriCloud