summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb_controller.h
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2009-03-20 21:50:54 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2009-03-20 21:50:54 +0000
commit578d0eff90183f6bb6a9c529ca7ef67f01a17662 (patch)
tree2c0305c112077574481c91ab5419d169d6341a3b /sys/dev/usb/usb_controller.h
parentbdc081c60ff09707a85971b94c9177d16cc72033 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/usb_controller.h')
-rw-r--r--sys/dev/usb/usb_controller.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_controller.h b/sys/dev/usb/usb_controller.h
index ed329d850f9d..24a95bd0220e 100644
--- a/sys/dev/usb/usb_controller.h
+++ b/sys/dev/usb/usb_controller.h
@@ -45,7 +45,7 @@ struct usb2_endpoint_descriptor;
/* typedefs */
-typedef void (usb2_bus_mem_sub_cb_t)(struct usb2_bus *bus, struct usb2_page_cache *pc, struct usb2_page *pg, uint32_t size, uint32_t align);
+typedef void (usb2_bus_mem_sub_cb_t)(struct usb2_bus *bus, struct usb2_page_cache *pc, struct usb2_page *pg, usb2_size_t size, usb2_size_t align);
typedef void (usb2_bus_mem_cb_t)(struct usb2_bus *bus, usb2_bus_mem_sub_cb_t *scb);
/*
@@ -175,7 +175,7 @@ struct usb2_hw_ep_scratch {
*/
struct usb2_temp_setup {
void *buf;
- uint32_t size;
+ usb2_size_t size;
uint8_t usb2_speed;
uint8_t self_powered;
uint8_t bNumEndpoints;