Brian King wrote:
@@ -4573,7 +4567,7 @@ static void ata_host_init(struct ata_por host->max_lun = 1; host->max_channel = 1; host->unique_id = ata_unique_id++; - host->max_cmd_len = 12; + host->max_cmd_len = ATAPI_CDB_LEN;
Have you audited the code paths to ensure that a CDB of length 15 is _NEVER_ sent, before ata_scsi_dev_config() is called?
The current code intentionally uses the minimum -- 12 -- and then raises it if both device and host are capable of more.
Jeff - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html