summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_dev.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_dev.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_dev.h')
-rw-r--r--sys/dev/usb/usb_dev.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/usb_dev.h b/sys/dev/usb/usb_dev.h
index 0d0d1d4..3f21542 100644
--- a/sys/dev/usb/usb_dev.h
+++ b/sys/dev/usb/usb_dev.h
@@ -177,16 +177,16 @@ uint32_t usb2_fifo_put_bytes_max(struct usb_fifo *fifo);
void usb2_fifo_put_data(struct usb_fifo *fifo, struct usb_page_cache *pc,
usb_frlength_t offset, usb_frlength_t len, uint8_t what);
void usb2_fifo_put_data_linear(struct usb_fifo *fifo, void *ptr,
- size_t len, uint8_t what);
-uint8_t usb2_fifo_put_data_buffer(struct usb_fifo *f, void *ptr, size_t len);
+ usb_size_t len, uint8_t what);
+uint8_t usb2_fifo_put_data_buffer(struct usb_fifo *f, void *ptr, usb_size_t len);
void usb2_fifo_put_data_error(struct usb_fifo *fifo);
uint8_t usb2_fifo_get_data(struct usb_fifo *fifo, struct usb_page_cache *pc,
usb_frlength_t offset, usb_frlength_t len, usb_frlength_t *actlen,
uint8_t what);
uint8_t usb2_fifo_get_data_linear(struct usb_fifo *fifo, void *ptr,
- size_t len, size_t *actlen, uint8_t what);
+ usb_size_t len, usb_size_t *actlen, uint8_t what);
uint8_t usb2_fifo_get_data_buffer(struct usb_fifo *f, void **pptr,
- size_t *plen);
+ usb_size_t *plen);
void usb2_fifo_get_data_error(struct usb_fifo *fifo);
uint8_t usb2_fifo_opened(struct usb_fifo *fifo);
void usb2_fifo_free(struct usb_fifo *f);
OpenPOWER on IntegriCloud