diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-09-21 07:26:08 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-12 14:55:40 -0400 |
commit | 00bd02027fc4a5cf92a3e538896b3642b40515df (patch) | |
tree | e5e2a72a467577a5a65be5886f96039c2f62a8af /drivers/ata/pata_cmd640.c | |
parent | 453941455218a81eedcea5dbafa38b8815920a8c (diff) |
[libata] SCSI: improve FORMAT UNIT; minor code cleanups
* SAT specifies that FORMAT UNIT should be translated into a series
of READ and WRITE commands that zero the ATA device. That is far too
cumbersome to bother with.
Since we don't actually format the device, the old behavior of
always returning success was inaccurate. Change FORMAT UNIT from
returning success immediately (old behavior) to always returning
an error (new behavior).
* Add some comments around SYNCHRONIZE CACHE
* Shuffle scsi command code around a bit, so that things are close
to alphabetic order.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_cmd640.c')
0 files changed, 0 insertions, 0 deletions