summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_transfer.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_transfer.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_transfer.h')
-rw-r--r--sys/dev/usb/usb_transfer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/usb_transfer.h b/sys/dev/usb/usb_transfer.h
index 72c9f0e..53c49db 100644
--- a/sys/dev/usb/usb_transfer.h
+++ b/sys/dev/usb/usb_transfer.h
@@ -67,8 +67,8 @@ struct usb_xfer_root {
struct usb_bus *bus; /* pointer to USB bus (cached) */
struct usb_device *udev; /* pointer to USB device */
- size_t memory_size;
- size_t setup_refcount;
+ usb_size_t memory_size;
+ usb_size_t setup_refcount;
#if USB_HAVE_BUSDMA
usb_frcount_t dma_nframes; /* number of page caches to load */
usb_frcount_t dma_currframe; /* currect page cache number */
@@ -97,7 +97,7 @@ struct usb_setup_params {
void *buf;
usb_frlength_t *xfer_length_ptr;
- size_t size[7];
+ usb_size_t size[7];
usb_frlength_t bufsize;
usb_frlength_t bufsize_max;
@@ -112,8 +112,8 @@ struct usb_setup_params {
/* function prototypes */
uint8_t usb2_transfer_setup_sub_malloc(struct usb_setup_params *parm,
- struct usb_page_cache **ppc, size_t size, size_t align,
- size_t count);
+ struct usb_page_cache **ppc, usb_size_t size, usb_size_t align,
+ usb_size_t count);
void usb2_command_wrapper(struct usb_xfer_queue *pq,
struct usb_xfer *xfer);
void usb2_pipe_enter(struct usb_xfer *xfer);
OpenPOWER on IntegriCloud