mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
* DiscImageChef.Devices/Device/AtaCommands.cs:
* DiscImageChef.Devices/Device/ScsiCommands.cs: * DiscImageChef.Devices/Device/AtapiCommands.cs: Added duration debug printfs. * DiscImageChef.Devices/Enums.cs: Corrected device<->host direction. * DiscImageChef.Devices/Linux/Command.cs: Corrected device<->host direction. Changed to workaround how ATA Pass-Through is really implemented in Linux. * DiscImageChef/Commands/DeviceInfo.cs: Added ATA and ATAPI identify commands.
This commit is contained in:
@@ -97,6 +97,10 @@ namespace DiscImageChef.Devices
|
||||
ref buffer, timeout, false, out duration, out sense);
|
||||
error = lastError != 0;
|
||||
|
||||
#if DEBUG
|
||||
Console.WriteLine("ATA IDENTIFY PACKET DEVICE took {0} ms.", duration);
|
||||
#endif
|
||||
|
||||
return sense;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user