]> err.no Git - linux-2.6/commit
libata_scsi: Fix ATAPI transfer lengths
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 2 Oct 2007 20:53:04 +0000 (13:53 -0700)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:45 +0000 (14:55 -0400)
commit2db78dd302d26d242d3e8e5c4c5024b6c3ea93c2
tree3d1b15c4314568dd7ccedb43a406060d5b6093be
parent681c80b5d96076f447e8101ac4325c82d8dce508
libata_scsi: Fix ATAPI transfer lengths

Some controller variants snoop the ATAPI length value for Packet
transfers to do state machine and FIFO management. Thus we want to
set it properly, even for cases where it is otherwise meaningless.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c