summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_rz1000.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-02-20 23:31:22 +0900
committerJeff Garzik <jeff@garzik.org>2007-02-21 04:58:19 -0500
commitc3c70c443c2ef1fce31f201a93780c884b903993 (patch)
treecfb23ec2831ad4f10c87f6362573db9eb6a33cbd /drivers/ata/pata_rz1000.c
parentfcf1bf1584647f9fd864c193fee81840c4c5ce41 (diff)
downloadlinux-c3c70c443c2ef1fce31f201a93780c884b903993.tar.gz
linux-c3c70c443c2ef1fce31f201a93780c884b903993.tar.bz2
linux-c3c70c443c2ef1fce31f201a93780c884b903993.zip
libata: fix ata_scsi_change_queue_depth()
Fix ata_scsi_change_queue_depth() such that... * NCQ on/off is exactly determined using the same logic as the issue path. * queue depth is adjusted to 1 if NCQ is not enabled. * -EINVAL is returned if requested action is ignored due to limitations. This fixes the bug which allows queue depth to be increased on blacklisted NCQ hosts/devices. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_rz1000.c')
0 files changed, 0 insertions, 0 deletions