Other Parts Discussed in Thread: TUSB9261
Tool/software:
Hello,
I have question about PxCI register.
In the code, PxCI has command completion status. For example:
status = ahci_wait_complete(PxCI(scsi_cmd.pCmdInput->bLUN), (0x1 .....
is there any status for new incoming command ?
So, I want to made like this :
if ahci_wait_complete is done then :
loop wait until 30 sec.
if no incoming command , then stop hdd rotation.
if there is any incoming command , then cancel the 30 sec loop
.
any suggestion ?
Thank you before