diff options
author | Robert Hancock <hancockrwd@gmail.com> | 2009-07-30 20:11:29 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-09-01 23:47:21 (GMT) |
commit | 4f1a0ee11d6f9c104c8e6a13dae995709a6922a8 (patch) | |
tree | 5402b32fb0ba17c3d9f44c21faddbefd73d2812f /drivers/ata/pata_icside.c | |
parent | 77cdec1ad527560b59ab8dbb063dbb3d0a138bf7 (diff) | |
download | linux-fsl-qoriq-4f1a0ee11d6f9c104c8e6a13dae995709a6922a8.tar.xz |
sata_sil24: always set protocol override for non-ATAPI data commands
The sil24 hardware has a built-in list of commands and associated protocols
that gets used by default to decide how to handle a given command. However,
if the command is not known to the controller then it presumably assumes it to
be a non-data command which then causes protocol mismatch errors if the device
ends up requesting data transfer. The new DATA SET MANAGEMENT - Trim command
causes this issue since it's a DMA data-out command.
Since we should always know best what protocol the command should be using,
let's just set the override flag to inform the controller what protocol to use
for all non-ATAPI commands with data transfer.
Signed-off-by: Robert Hancock <hancockrwd@gmail.com>
Tested-by: Mark Lord <liml@rtr.ca>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_icside.c')
0 files changed, 0 insertions, 0 deletions