diff --git a/ChangeLog b/ChangeLog index 1929b9d5b..fcaf5abbb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-10-31 Natalia Portillo + + * SCSI/Modes.cs: + Added information from INF-8070. + 2015-10-31 Natalia Portillo * SCSI/Modes.cs: diff --git a/SCSI/Modes.cs b/SCSI/Modes.cs index 97012d114..2f8dbea87 100644 --- a/SCSI/Modes.cs +++ b/SCSI/Modes.cs @@ -285,8 +285,23 @@ namespace DiscImageChef.Decoders.SCSI /// /// 3.5-inch, 135 tpi, 15916 bits/radian, double-sided MFM (aka 1.44Mb) /// - HDFloppy = 0x94 + HDFloppy = 0x94, #endregion Medium Types defined in USB Mass Storage Class - UFI Command Specification + + #region Medium Types defined in INF-8070 + /// + /// Unknown type block device + /// + UnknownBlockDevice = 0x40, + /// + /// Read-only block device + /// + ReadOnlyBlockDevice = 0x41, + /// + /// Read/Write block device + /// + ReadWriteBlockDevice = 0x42 + #endregion Medium Types defined in INF-8070 } public enum DensityType : byte @@ -1035,6 +1050,15 @@ namespace DiscImageChef.Decoders.SCSI case MediumTypes.MediumError: sb.AppendLine("Tray closed or caddy inserted but medium error"); break; + case MediumTypes.UnknownBlockDevice: + sb.AppendLine("Unknown block device"); + break; + case MediumTypes.ReadOnlyBlockDevice: + sb.AppendLine("Read-only block device"); + break; + case MediumTypes.ReadWriteBlockDevice: + sb.AppendLine("Read/Write block device"); + break; default: sb.AppendFormat("Unknown medium type 0x{0:X2}", header.Value.MediumType).AppendLine(); break;