[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 08 Aug 2007 12:28:58 -0400
From: Jeff Garzik <jeff@...zik.org>
To: Mark Lord <lkml@....ca>
CC: IDE/ATA development list <linux-ide@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Alan <alan@...rguk.ukuu.org.uk>
Subject: Re: libata git tree, mbox queue status and contents
Mark Lord wrote:
> Jeff,
>
> This patch (below) is needed by WD drives that powerup-in-standby.
> drivers/ata/libata-core.c~libata-adjust-libata-to-ignore-errors-after
> drivers/ata/libata-core.c
> --- a/drivers/ata/libata-core.c~libata-adjust-libata-to-ignore-errors-after
> +++ a/drivers/ata/libata-core.c
> @@ -1723,7 +1723,7 @@ int ata_dev_read_id(struct ata_device *d
> tf.protocol = ATA_PROT_NODATA;
> tf.flags |= ATA_TFLAG_ISADDR | ATA_TFLAG_DEVICE;
> err_mask = ata_exec_internal(dev, &tf, NULL, DMA_NONE, NULL, 0);
> - if (err_mask) {
> + if (err_mask && id[2] != 0x738c) {
> rc = -EIO;
> reason = "SPINUP failed";
> goto err_out;
Thanks for the poke, it wasn't in my queue.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists