On 11/08/14 01:07, Tian, Feng wrote:
> Hi, Reza
> 
> IMHO, it should jump out the loop at the below point if we put break 
> statement inside the new if.
> 
>         PrdCount = *(volatile UINT32 *) 
> (&(AhciRegisters->AhciCmdList[0].AhciCmdPrdbc));
>         if (PrdCount == DataCount) {
>           break;
>         }
> 
> As I have no the test env, could you help me verify if it's true?

I see what you mean now. Yes, this works fine, I also found out that
apparently some Marvel controllers use D2H only instead of PIO Setup FIS.
Intel controllers don't have that problem.

I have adjusted the patch according to your suggestion.

------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to