[libata] Slightly improved no-op REQUEST SENSE, SEND DIAGNOSTIC
authorJeff Garzik <jeff@garzik.org>
Fri, 21 Sep 2007 10:23:42 +0000 (06:23 -0400)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:40 +0000 (14:55 -0400)
commit453941455218a81eedcea5dbafa38b8815920a8c
treeb2f21afae3beb39da13f089c02f0f09bfc4de697
parentad355b4628a19ba2af30409e13083edda221a5c9
[libata] Slightly improved no-op REQUEST SENSE, SEND DIAGNOSTIC

A few pedantic apps care about missing or lame "mandatory" SCSI
commands, so

REQUEST SENSE -- as we autosense, R.S. just returns zeroes

SEND DIAGNOSTIC -- our default (no-op) self-test succeeds, all
   other requests for testing fail.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-scsi.c