]> err.no Git - linux-2.6/commit
libata: implement protocol tests
authorTejun Heo <htejun@gmail.com>
Tue, 27 Nov 2007 10:28:53 +0000 (19:28 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 23 Jan 2008 10:24:10 +0000 (05:24 -0500)
commit405e66b38797875e80669eaf72d313dbb76533c3
treea069f0bb4ae1e81a58bc8f8965a2443d25186f0d
parentf20ded38aa54b92dd0af32578b8916d0aa2d9e05
libata: implement protocol tests

Implement protocol tests - ata_is_atapi(), ata_is_nodata(),
ata_is_pio(), ata_is_dma(), ata_is_ncq() and ata_is_data() and use
them to replace is_atapi_taskfile() and hard coded protocol tests.

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_fsl.c
drivers/ata/sata_sil.c
drivers/ata/sata_sil24.c
drivers/scsi/libsas/sas_ata.c
include/linux/ata.h