Fixed the fourth batch of problems.
This commit is contained in:
@@ -625,10 +625,6 @@ BuslogicSCSIBIOSRequestSetup(x54x_t *dev, uint8_t *CmdBuf, uint8_t *DataInBuf, u
|
||||
|
||||
buslogic_log("Transfer Control %02X\n", ESCSICmd->DataDirection);
|
||||
buslogic_log("CDB Length %i\n", ESCSICmd->CDBLength);
|
||||
if (ESCSICmd->DataDirection > 0x03) {
|
||||
buslogic_log("Invalid control byte: %02X\n",
|
||||
ESCSICmd->DataDirection);
|
||||
}
|
||||
}
|
||||
|
||||
target_cdb_len = 12;
|
||||
|
||||
@@ -415,7 +415,7 @@ x54x_bios_command(x54x_t *x54x, uint8_t max_id, BIOSCMD *cmd, int8_t islba)
|
||||
|
||||
x54x_log("BIOS Command = 0x%02X\n", cmd->command);
|
||||
|
||||
if ((cmd->id > max_id) || (cmd->lun > 7)) {
|
||||
if (cmd->id > max_id) {
|
||||
x54x_log("BIOS Target ID %i or LUN %i are above maximum\n",
|
||||
cmd->id, cmd->lun);
|
||||
ret = 0x80;
|
||||
|
||||
Reference in New Issue
Block a user