mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Changed order of LBA48 commands in Linux.
This commit is contained in:
@@ -269,8 +269,8 @@ namespace DiscImageChef.Devices.Linux
|
|||||||
|
|
||||||
byte[] cdb = new byte[16];
|
byte[] cdb = new byte[16];
|
||||||
cdb[0] = (byte)ScsiCommands.AtaPassThrough16;
|
cdb[0] = (byte)ScsiCommands.AtaPassThrough16;
|
||||||
cdb[1] |= 0x01;
|
|
||||||
cdb[1] = (byte)(((byte)protocol << 1) & 0x1E);
|
cdb[1] = (byte)(((byte)protocol << 1) & 0x1E);
|
||||||
|
cdb[1] |= 0x01;
|
||||||
if(transferRegister != AtaTransferRegister.NoTransfer &&
|
if(transferRegister != AtaTransferRegister.NoTransfer &&
|
||||||
protocol != AtaProtocol.NonData)
|
protocol != AtaProtocol.NonData)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user