]> git.baikalelectronics.ru Git - kernel.git/commit
libata: ATA_12/16 doesn't fall into ATAPI_MISC
authorTejun Heo <htejun@gmail.com>
Wed, 2 Apr 2008 08:35:19 +0000 (17:35 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 4 Apr 2008 06:43:36 +0000 (02:43 -0400)
commit291dbb4642660f2743b6740e7223c53f1123677b
tree40bce50f8f912bbd2d988526f3f5c5763f67af62
parent3ea005dbb8d43b4b112ee34d207e2f1a5275c5a8
libata: ATA_12/16 doesn't fall into ATAPI_MISC

SAT passthrus don't really fit into ATAPI_MISC class.  SAT passthru
commands always transfer multiple of 512 bytes and variable length
response is not allowed.  This patch creates a separate category -
ATAPI_PASS_THRU - for these.

This fixes HSM violation on "hdparm -I".

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