From 975f39eab70adcb2666b7987ac4e9f6ac44205cd Mon Sep 17 00:00:00 2001 From: Robert Hancock Date: Tue, 30 Jan 2007 00:59:18 -0800 Subject: [PATCH] --- yaml --- r: 45987 b: refs/heads/master c: 78981a7c6c34bddbb90da72cf6ce10953e84aad8 h: refs/heads/master i: 45985: c2d3ed44c7a4b25f0aa5e250757df8c8173a5ca6 45983: ad79db6dfe640cc3f18ba491b489904511d44a76 v: v3 --- [refs] | 2 +- trunk/drivers/ata/libata-scsi.c | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 4592b6cf1e19..21886c3b03f6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: af068bd1debcc76c1bc265aa01401901bf0067ed +refs/heads/master: 78981a7c6c34bddbb90da72cf6ce10953e84aad8 diff --git a/trunk/drivers/ata/libata-scsi.c b/trunk/drivers/ata/libata-scsi.c index d151cf057ef2..73902d335767 100644 --- a/trunk/drivers/ata/libata-scsi.c +++ b/trunk/drivers/ata/libata-scsi.c @@ -1022,11 +1022,10 @@ static unsigned int ata_scsi_start_stop_xlat(struct ata_queued_cmd *qc) } tf->command = ATA_CMD_VERIFY; /* READ VERIFY */ - } else { - tf->nsect = 0; /* time period value (0 implies now) */ - tf->command = ATA_CMD_STANDBY; - /* Consider: ATA STANDBY IMMEDIATE command */ - } + } else + /* Issue ATA STANDBY IMMEDIATE command */ + tf->command = ATA_CMD_STANDBYNOW1; + /* * Standby and Idle condition timers could be implemented but that * would require libata to implement the Power condition mode page