qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 04/19] libqos/ahci: Add command header helpers


From: John Snow
Subject: Re: [Qemu-devel] [PATCH 04/19] libqos/ahci: Add command header helpers
Date: Mon, 02 Feb 2015 15:33:48 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0



On 02/02/2015 05:25 AM, Paolo Bonzini wrote:


On 30/01/2015 19:41, John Snow wrote:
+    /* Construct our Command Header (set_command_header handles endianness.) */
+    memset(&cmd, 0x00, sizeof(cmd));
+    cmd.flags = 5;     /* reg_h2d_fis is 5 double-words long */
+    cmd.flags = 0x400; /* clear PxTFD.STS.BSY when done */

And here |= became = ?

Paolo

+    cmd.prdtl = 1;     /* One PRD table entry. */


A typo that testing didn't pick up on. (I wonder how?)
Thank you.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]