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. */

Reply via email to