diff options
author | Andrew Thompson <thompsa@FreeBSD.org> | 2009-05-30 00:22:57 +0000 |
---|---|---|
committer | Andrew Thompson <thompsa@FreeBSD.org> | 2009-05-30 00:22:57 +0000 |
commit | f9cb546c233aa780517ea85bec2cc8630097535a (patch) | |
tree | 850ed632800ebd9b53080b0dbbbb6afda22bcd1c /sys/dev/usb/usb_compat_linux.h | |
parent | 515db61d2bdfc2bfda5ed86cb0675287a5bbbe79 (diff) | |
download | src-f9cb546c233aa780517ea85bec2cc8630097535a.tar.gz src-f9cb546c233aa780517ea85bec2cc8630097535a.zip |
Revert the size_t part of the last commit for the moment, this blows up the
USB_ADD_BYTES macro.
Notes
Notes:
svn path=/head/; revision=193074
Diffstat (limited to 'sys/dev/usb/usb_compat_linux.h')
-rw-r--r-- | sys/dev/usb/usb_compat_linux.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/usb_compat_linux.h b/sys/dev/usb/usb_compat_linux.h index 0d2446b9ed85..90667021ece8 100644 --- a/sys/dev/usb/usb_compat_linux.h +++ b/sys/dev/usb/usb_compat_linux.h @@ -278,9 +278,9 @@ struct urb { void *context; /* (in) context for completion */ usb_complete_t *complete; /* (in) completion routine */ - size_t transfer_buffer_length;/* (in) data buffer length */ - size_t bsd_length_rem; - size_t actual_length; /* (return) actual transfer length */ + usb_size_t transfer_buffer_length;/* (in) data buffer length */ + usb_size_t bsd_length_rem; + usb_size_t actual_length; /* (return) actual transfer length */ usb_timeout_t timeout; /* FreeBSD specific */ uint16_t transfer_flags; /* (in) */ @@ -326,11 +326,11 @@ struct usb_host_interface *usb_altnum_to_altsetting( const struct usb_interface *intf, uint8_t alt_index); struct usb_interface *usb_ifnum_to_if(struct usb_device *dev, uint8_t iface_no); -void *usb_buffer_alloc(struct usb_device *dev, size_t size, +void *usb_buffer_alloc(struct usb_device *dev, usb_size_t size, uint16_t mem_flags, uint8_t *dma_addr); void *usb_get_intfdata(struct usb_interface *intf); -void usb_buffer_free(struct usb_device *dev, size_t size, void *addr, uint8_t dma_addr); +void usb_buffer_free(struct usb_device *dev, usb_size_t size, void *addr, uint8_t dma_addr); void usb_free_urb(struct urb *urb); void usb_init_urb(struct urb *urb); void usb_kill_urb(struct urb *urb); |