Changeset 6430ac6 in mainline for uspace/drv/bus/usb/usbmast/mast.h
- Timestamp:
- 2011-07-03T10:53:17Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 71fa44c
- Parents:
- 3f08fd2b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmast/mast.h
r3f08fd2b r6430ac6 46 46 #define BULK_OUT_EP 1 47 47 48 /** Result of SCSI INQUIRY command.49 * This is already parsed structure, not the original buffer returned by50 * the device.51 */52 typedef struct {53 /** SCSI peripheral device type */54 unsigned device_type;55 /** Whether the device is removable */56 bool removable;57 /** Vendor ID string */58 char vendor[SCSI_INQ_VENDOR_STR_BUFSIZE];59 /** Product ID string */60 char product[SCSI_INQ_PRODUCT_STR_BUFSIZE];61 /** Revision string */62 char revision[SCSI_INQ_REVISION_STR_BUFSIZE];63 } usb_massstor_inquiry_result_t;64 65 48 int usb_massstor_data_in(usb_device_t *dev, uint32_t, uint8_t, void *, 66 49 size_t, void *, size_t, size_t *); … … 69 52 int usb_massstor_get_max_lun(usb_device_t *); 70 53 size_t usb_masstor_get_lun_count(usb_device_t *); 71 int usb_massstor_inquiry(usb_device_t *, usb_massstor_inquiry_result_t *);72 const char *usb_str_masstor_scsi_peripheral_device_type(unsigned);73 54 74 55 #endif
Note:
See TracChangeset
for help on using the changeset viewer.