Changeset 4069f5c in mainline for uspace/drv/bus/usb/usbmast/bo_trans.h
- Timestamp:
- 2011-07-17T09:52:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 64639256, ca1f1ec
- Parents:
- 27eddb52 (diff), 4118f5f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmast/bo_trans.h
r27eddb52 r4069f5c 31 31 */ 32 32 /** @file 33 * Generic functions for USB mass storage.33 * USB mass storage bulk-only transport. 34 34 */ 35 35 36 #ifndef USB_USBMAST_MAST_H_37 #define USB_USBMAST_MAST_H_36 #ifndef BO_TRANS_H_ 37 #define BO_TRANS_H_ 38 38 39 39 #include <scsi/spc.h> … … 42 42 #include <usb/dev/pipes.h> 43 43 #include <usb/dev/driver.h> 44 #include "usbmast.h" 44 45 45 46 #define BULK_IN_EP 0 46 47 #define BULK_OUT_EP 1 47 48 48 extern int usb_massstor_data_in(usb _device_t *, uint32_t, uint8_t, const void *,49 extern int usb_massstor_data_in(usbmast_fun_t *, uint32_t, const void *, 49 50 size_t, void *, size_t, size_t *); 50 extern int usb_massstor_data_out(usb _device_t *, uint32_t, uint8_t, const void *,51 extern int usb_massstor_data_out(usbmast_fun_t *, uint32_t, const void *, 51 52 size_t, const void *, size_t, size_t *); 52 extern int usb_massstor_reset(usb _device_t *);53 extern void usb_massstor_reset_recovery(usb _device_t *);54 extern int usb_massstor_get_max_lun(usb _device_t *);55 extern size_t usb_masstor_get_lun_count(usb _device_t *);53 extern int usb_massstor_reset(usbmast_dev_t *); 54 extern void usb_massstor_reset_recovery(usbmast_dev_t *); 55 extern int usb_massstor_get_max_lun(usbmast_dev_t *); 56 extern size_t usb_masstor_get_lun_count(usbmast_dev_t *); 56 57 57 58 #endif
Note:
See TracChangeset
for help on using the changeset viewer.