summaryrefslogtreecommitdiff
path: root/src/class/msc/msc.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-07-04 15:00:46 +0700
committerhathach <[email protected]>2018-07-04 15:00:46 +0700
commitfc139b009f4c49d4fdbf1b80097c94c8dabb1ee1 (patch)
treee8f7bc53384762c6baed35ea1f49d6b81df922bc /src/class/msc/msc.h
parent3eb410cf8521755874fb9900a7f711bcafdc81d5 (diff)
add CFG_TUD_MSC_VENDOR,CFG_TUD_MSC_PRODUCT, CFG_TUD_MSC_PRODUCT_REV for msc inquiry response
Diffstat (limited to 'src/class/msc/msc.h')
-rw-r--r--src/class/msc/msc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/class/msc/msc.h b/src/class/msc/msc.h
index a8af2b886..fc0b8730c 100644
--- a/src/class/msc/msc.h
+++ b/src/class/msc/msc.h
@@ -226,9 +226,9 @@ typedef struct ATTR_PACKED
uint8_t wbus16 : 1;
uint8_t : 2;
- uint8_t vendor_id[8] ; ///< 8 bytes of ASCII data identifying the vendor of the product. The T10 vendor identification shall be one assigned by INCITS. A list of assigned T10 vendor identifications is in Annex E and on the T10 web site (http://www.t10.org).
- uint8_t product_id[16] ; ///< 16 bytes of ASCII data defined by the vendor.
- uint8_t product_revision[4] ; ///< 4 bytes of ASCII data defined by the vendor.
+ uint8_t vendor_id[8] ; ///< 8 bytes of ASCII data identifying the vendor of the product.
+ uint8_t product_id[16]; ///< 16 bytes of ASCII data defined by the vendor.
+ uint8_t product_rev[4]; ///< 4 bytes of ASCII data defined by the vendor.
} scsi_inquiry_data_t;
VERIFY_STATIC(sizeof(scsi_inquiry_data_t) == 36, "size is not correct");