mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Print Hi-MD specific data when pretty printing SCSI INQUIRY.
This commit is contained in:
@@ -2429,7 +2429,8 @@ namespace DiscImageChef.Decoders.SCSI
|
||||
sb.AppendLine("============================================================");
|
||||
}
|
||||
|
||||
if(response.VendorSpecific != null)
|
||||
if(response.VendorSpecific != null &&
|
||||
response.IsHiMD)
|
||||
if(response.KreonPresent)
|
||||
{
|
||||
byte[] vendor = new byte[7];
|
||||
@@ -2447,6 +2448,19 @@ namespace DiscImageChef.Decoders.SCSI
|
||||
sb.AppendLine("============================================================");
|
||||
}
|
||||
|
||||
if(response.IsHiMD)
|
||||
{
|
||||
sb.AppendLine("Hi-MD device.");
|
||||
|
||||
if(response.HiMDSpecific != null)
|
||||
{
|
||||
sb.AppendLine("Hi-MD specific bytes 44 to 55");
|
||||
sb.AppendLine("============================================================");
|
||||
sb.AppendLine(PrintHex.ByteArrayToHexArrayString(response.HiMDSpecific, 60));
|
||||
sb.AppendLine("============================================================");
|
||||
}
|
||||
}
|
||||
|
||||
if(response.VendorSpecific2 == null)
|
||||
return sb.ToString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user