From dc3073165c8e83bf74357c8843b47ce90683dc98 Mon Sep 17 00:00:00 2001 From: rocky Date: Thu, 29 Jul 2004 05:31:27 +0000 Subject: [PATCH] Add lengths of hardware vendor, model, and revision. --- include/cdio/scsi_mmc.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/cdio/scsi_mmc.h b/include/cdio/scsi_mmc.h index 5e65da49..59ccc15b 100644 --- a/include/cdio/scsi_mmc.h +++ b/include/cdio/scsi_mmc.h @@ -1,5 +1,5 @@ /* - $Id: scsi_mmc.h,v 1.22 2004/07/29 02:16:20 rocky Exp $ + $Id: scsi_mmc.h,v 1.23 2004/07/29 05:31:27 rocky Exp $ Copyright (C) 2003, 2004 Rocky Bernstein @@ -104,6 +104,11 @@ #define CDIO_MMC_CAPABILITIES_PAGE 0x2a #define CDIO_MMC_ALL_PAGES 0x3f +/*! Size of fields returned by an INQUIRY command */ +#define CDIO_MMC_HW_VENDOR_LEN 8 /**< length of vendor field */ +#define CDIO_MMC_HW_MODEL_LEN 16 /**< length of model field */ +#define CDIO_MMC_HW_REVISION_LEN 4 /**< length of revision field */ + /*! This is listed as optional in ATAPI 2.6, but is (curiously) missing from Mt. Fuji, Table 57. It _is_ mentioned in Mt. Fuji