Re: [PATCH] libata-sff: fix 32-bit PIO regression

From: Sergei Shtylyov
Date: Sun Feb 08 2009 - 17:11:22 EST


Hello.

Alan Cox wrote:

swapping bytes to and fro as well by using io*_rep() which shouldn't byte-swap.

Nice - thats a very sneaky and clean way to do it but probably should be
commented or someone will "optimise" it one day ..

OK, I'll recast and repost it -- along with the patch cleaning up the corresponding fragment of the 16-bit I/O method.

MBR, Sergei


--
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/