[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cdi-devel] [PATCH 3/8] cdi/scsi: Add LUN count to cdi_scsi_device



From: Max Reitz <max@xxxxxxxxxx>

+ One SCSI device may provide multiple LUNs. Add a field for that.

Signed-off-by: Max Reitz <max@xxxxxxxxxx>
---
 include/cdi/scsi.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/cdi/scsi.h b/include/cdi/scsi.h
index cef96ed..9fa17ab 100644
--- a/include/cdi/scsi.h
+++ b/include/cdi/scsi.h
@@ -51,6 +51,9 @@ struct cdi_scsi_device {
 
     /// Geraetetyp, der ueber SCSI angesteuert wird
     cdi_device_type_t type;
+
+    /// Number of LUNs (if 0, there is one)
+    int lun_count;
 };
 
 /// SCSI-Treiber
-- 
2.3.4