On Llu, 2003-04-21 at 17:55, Geert Uytterhoeven wrote:> However, there's also a routine that involves more magic:> taskfile_lib_get_identify(). While trying to understand that one, I found more> commands that should call the (possible byteswapping) hwif->ata_input_id()> operations, like SMART commands. So first we need a clearer differentiation> between commands that transfer on-platter data, or other drive data.> > Any comments from the IDE experts?

Only one, stop abusing the IDE layer and do your byte swapping via a loopback/md or similar piece of code.