diff options
author | Tejun Heo <htejun@gmail.com> | 2008-03-11 03:35:00 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-17 13:26:52 +0100 |
commit | 4a38e733a75d52e84772fc00d88e32032a235e75 (patch) | |
tree | c38fa6f0ce85adbbaf705e72d7bd96b958508b96 /drivers/ata/ahci.c | |
parent | ahci: implement skip_host_reset parameter (diff) | |
download | linux-4a38e733a75d52e84772fc00d88e32032a235e75.tar.xz linux-4a38e733a75d52e84772fc00d88e32032a235e75.zip |
pata_ali: use atapi_cmd_type() to determine cmd type instead of transfer size
pata_ali was using qc->nbytes to determine whether a command is
data transfer type or not. As now qc->nbytes can be extended by
padding and draining buffers, these tests are not useful anymore.
Use atapi_cmd_type() instead.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions