Tejun Heo 4a38e733a7 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>
2008-03-17 08:26:52 -04:00
..
2008-01-23 05:24:17 -05:00
2008-02-25 17:29:35 -05:00
2008-02-15 13:51:24 -05:00
2008-02-03 17:08:11 +02:00
2007-10-20 01:02:48 +02:00
2008-02-03 17:08:11 +02:00
2007-11-23 19:33:27 -05:00
2008-02-03 17:08:11 +02:00
2008-01-31 11:25:51 +11:00
2008-02-11 14:30:07 -05:00
2008-02-15 13:51:22 -05:00
2008-02-03 17:08:11 +02:00
2008-01-23 05:24:17 -05:00
2008-01-23 05:24:14 -05:00
2008-01-23 05:24:15 -05:00
2008-01-23 05:24:14 -05:00
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:15 -05:00
2007-07-02 10:17:42 -04:00