Changeset 7b2c17c in mainline for uspace/drv/bus/usb/usbmast/mast.h


Ignore:
Timestamp:
2011-07-02T20:42:14Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d2fac08c
Parents:
239e7e10
Message:

Structure for SCSI standard inquiry data. Also fixes decoding of product and revision string in usbmast.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbmast/mast.h

    r239e7e10 r7b2c17c  
    4747 */
    4848typedef struct {
    49         /** SCSI peripheral device type. */
    50         int peripheral_device_type;
    51         /** Whether the device is removable. */
     49        /** SCSI peripheral device type */
     50        unsigned device_type;
     51        /** Whether the device is removable */
    5252        bool removable;
    53         /** Vendor ID string. */
    54         char vendor_id[9];
    55         /** Product ID and product revision string. */
    56         char product_and_revision[12];
     53        /** Vendor ID string */
     54        char vendor[9];
     55        /** Product ID string */
     56        char product[17];
     57        /** Revision string */
     58        char revision[17];
    5759} usb_massstor_inquiry_result_t;
    5860
Note: See TracChangeset for help on using the changeset viewer.