Changeset 70c12d6 in mainline for uspace/drv/usbmast/mast.h
- Timestamp:
- 2011-05-11T19:20:06Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cf002dbf
- Parents:
- 19387b61
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbmast/mast.h
r19387b61 r70c12d6 40 40 #include <usb/usb.h> 41 41 #include <usb/pipes.h> 42 #include <usb/devdrv.h> 42 43 43 int usb_massstor_data_in(usb_pipe_t *, usb_pipe_t *, uint32_t, uint8_t, 44 void *, size_t, void *, size_t, size_t *); 44 typedef struct { 45 int peripheral_device_type; 46 bool removable; 47 char vendor_id[9]; 48 char product_and_revision[12]; 49 } usb_massstor_inquiry_result_t; 50 51 int usb_massstor_data_in(usb_device_t *dev, size_t, size_t, 52 uint32_t, uint8_t, void *, size_t, void *, size_t, size_t *); 53 int usb_massstor_reset(usb_device_t *); 54 void usb_massstor_reset_recovery(usb_device_t *, size_t, size_t); 55 int usb_massstor_get_max_lun(usb_device_t *); 56 int usb_massstor_inquiry(usb_device_t *, size_t, size_t, 57 usb_massstor_inquiry_result_t *); 58 const char *usb_str_masstor_scsi_peripheral_device_type(int); 45 59 46 60 #endif
Note:
See TracChangeset
for help on using the changeset viewer.