Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion iop/iLink/IEEE1394_bd/src/sbp2_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ static int sbp2_queue_cmd(struct scsi_interface *scsi, const unsigned char *cmd,
M_DEBUG("sbp2_queue_cmd(0x%02x)\n", cmd[0]);

cdb.misc = ORB_NOTIFY | ORB_REQUEST_FORMAT(0) | CDB_MAX_PAYLOAD(dev->max_payload) | CDB_SPEED(dev->speed);
cdb.misc |= CDB_DIRECTION(WRITE_TRANSACTION);
cdb.misc |= data_wr ? CDB_DIRECTION(READ_TRANSACTION) : CDB_DIRECTION(WRITE_TRANSACTION); // flipped
if (data_len > 0)
cdb.misc |= CDB_DATA_SIZE(data_len);

Expand Down
Loading