On Mon, 15 Sep 2008 00:55:11 +0400, Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx> wrote: > > Hum... but is it really correct to convert from/to LE order above? > > I'm prett sure that data is expected in LE order -- look ar > > ide_fix_driveid() for example... > > > > Assuming that the IDE data words' MSB appears at offset 6 and LSB at > offset 7 (which would seem logical), the data is actually in BE (CPU) > orger, so > mm_insw_swap() should use cpu_to_le16() and mm_outsw_swap() le16_to_cpu()... Thanks, I see. --- Atsushi Nemoto -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html