qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 29/32] ahci: properly shadow the TFD register


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v3 29/32] ahci: properly shadow the TFD register
Date: Thu, 14 Aug 2014 17:09:23 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Wed, Aug 13, 2014 at 05:56:12PM -0400, John Snow wrote:
> @@ -497,6 +495,8 @@ static void ahci_reset_port(AHCIState *s, int port)
>      pr->scr_stat = 0;
>      pr->scr_err = 0;
>      pr->scr_act = 0;
> +    pr->tfdata = 0x7F;

Is it possible to avoid the magic number?

Attachment: pgpdGYyLUDAr8.pgp
Description: PGP signature


reply via email to

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