libata: add @is_cmd to ata_tf_to_fis()
authorTejun Heo <htejun@gmail.com>
Mon, 16 Jul 2007 05:29:38 +0000 (14:29 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 20 Jul 2007 12:02:10 +0000 (08:02 -0400)
commit9977126c4b65c1396b665f7a0eeb8c7dede336f9
tree91901f1356a57ba311bc5c95c4825504642f7d04
parentfe36cb53cfd82f3c0796a0826e1c9caf198c8f97
libata: add @is_cmd to ata_tf_to_fis()

Add @is_cmd to ata_tf_to_fis().  This controls bit 7 of the second
byte which tells the device whether this H2D FIS is for a command or
not.  This cleans up ahci a bit and will be used by PMP.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/ahci.c
drivers/ata/libata-core.c
drivers/ata/sata_qstor.c
drivers/ata/sata_sil24.c
include/linux/libata.h