Re: CFA 4.0 patch

From: Alan Cox
Date: Tue May 15 2012 - 10:35:22 EST


> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/