[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120515153818.3e70d845@pyramind.ukuu.org.uk>
Date: Tue, 15 May 2012 15:38:18 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: "Andre Hedrick (anhedric)" <anhedric@...co.com>
Cc: <linux-kernel@...r.kernel.org>
Subject: Re: CFA 4.0 patch
> 044Ah: This is the alternate value of Word 0 turns on ATA device and
> turns off Removable Media and Removable Device while preserving all
> Retired bits in the word.
>
> 0040h: This is the alternate value of Word 0 turns on ATA device and
> turns off Removable Media and Removable Device while zeroing all
> Retired bits in the word
>
> Cheers,
> Andre
> --------------------
> The Linux X-ATA/SATA guy
^former ;)
> --- linux-2.6.32.orig/include/linux/ata.h Mon May 14 15:48:24 2012
> +++ linux-2.6.32/include/linux/ata.h Mon May 14 15:51:42 2012
> @@ -819,6 +819,10 @@
> {
> if (id[ATA_ID_CONFIG] == 0x848A) /* Traditional CF */
> return 1;
> + if (id[ATA_ID_CONFIG] == 0x044A) /* Alternative CF w/
> removable turned off, preserving retired bits */
> + return 1;
> + if (id[ATA_ID_CONFIG] == 0x0040) /* Alternative CF w/
> removable turned off, zeroing retired bits*/
> + return 1;
Do you have test case hardware for this that fails the other checks. I've
never ever come across any. I don't believe it exists at this point.
Also 2.6.32 is some years ago 8)
Alan
--
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