]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc25a6289f02aeaef27493af9a603acad798e1e47
tree91901f1356a57ba311bc5c95c4825504642f7d04
parenta10014fb0b87f0fbe316daa79d557bcb76ccab96
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