diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-03-20 21:50:54 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-03-20 21:50:54 +0000 |
commit | a6782e2e3827f260d7a6ebc061218843605ef765 (patch) | |
tree | 2c0305c112077574481c91ab5419d169d6341a3b /sys/dev/usb/usb_controller.h | |
parent | e14295c787e7990fac7af1c1f196f279396b88a7 (diff) | |
download | FreeBSD-src-a6782e2e3827f260d7a6ebc061218843605ef765.zip FreeBSD-src-a6782e2e3827f260d7a6ebc061218843605ef765.tar.gz |
MFp4 //depot/projects/usb @159431,159437,159438
- start using the new USB typedefs in the USB core
- Remove usage of USB_ADD_BYTES()
Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_controller.h')
-rw-r--r-- | sys/dev/usb/usb_controller.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_controller.h b/sys/dev/usb/usb_controller.h index ed329d8..24a95bd 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; |