summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_controller.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-05-30 00:22:57 +0000
committerthompsa <thompsa@FreeBSD.org>2009-05-30 00:22:57 +0000
commitb064d23a532b2149c827f886719da091c9d46db5 (patch)
tree850ed632800ebd9b53080b0dbbbb6afda22bcd1c /sys/dev/usb/usb_controller.h
parent36bf6c9b02de093f113d81dc2ba7c54d7ba93926 (diff)
downloadFreeBSD-src-b064d23a532b2149c827f886719da091c9d46db5.zip
FreeBSD-src-b064d23a532b2149c827f886719da091c9d46db5.tar.gz
Revert the size_t part of the last commit for the moment, this blows up the
USB_ADD_BYTES macro.
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 2d96af9..d9e6ef1 100644
--- a/sys/dev/usb/usb_controller.h
+++ b/sys/dev/usb/usb_controller.h
@@ -45,7 +45,7 @@ struct usb_endpoint_descriptor;
/* typedefs */
-typedef void (usb_bus_mem_sub_cb_t)(struct usb_bus *bus, struct usb_page_cache *pc, struct usb_page *pg, size_t size, size_t align);
+typedef void (usb_bus_mem_sub_cb_t)(struct usb_bus *bus, struct usb_page_cache *pc, struct usb_page *pg, usb_size_t size, usb_size_t align);
typedef void (usb_bus_mem_cb_t)(struct usb_bus *bus, usb_bus_mem_sub_cb_t *scb);
/*
@@ -170,7 +170,7 @@ struct usb_hw_ep_scratch {
*/
struct usb_temp_setup {
void *buf;
- size_t size;
+ usb_size_t size;
enum usb_dev_speed usb_speed;
uint8_t self_powered;
uint8_t bNumEndpoints;
OpenPOWER on IntegriCloud