On 10-10-05 03:07 AM, Tejun Heo wrote:
Hello,
On 10/04/2010 09:51 PM, Mark Lord wrote:
Which opcodes are you using? I see set-acoustic-mgmt in one email...
opcode 0xec : IDENTIFY
The result_tf it receives is from whatever non-data command last preceeds it.
So if the previous non-data command failed (eg. hdparm -Z),
then the IDENTIFY command actually works, but appears to fail.
I've been thinking about it and it occurred to me that PIO data
commands don't use D2H Reg FIS for command completion. I don't recall
exactly but the PIO Setup FIS contains the result register, right? It
seems like we should look at different places or simulate output
depending on the command executed. Hmmm....
..
Yeah, maybe something like that.
But do note that I have verified that "hdparm -C" does work correctly,
and is dependent upon correctly returned result_tf values.
It's not a PIO "data" command, though. Does it get issued the same way?
--
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