qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: qemu-devel@nongnu.org, Alexander Graf <agraf@suse.de>
Subject: Re: [Qemu-devel] [PATCH] ahci: fix device detect emulation.
Date: Fri, 24 Jun 2011 09:24:16 +0200	[thread overview]
Message-ID: <4E043BA0.3080502@redhat.com> (raw)
In-Reply-To: <1308837577-15232-1-git-send-email-kraxel@redhat.com>

On 06/23/11 15:59, Gerd Hoffmann wrote:
> AHCI specs say about the device detection field:
>
> Device Detection (DET): Indicates the interface device detection and Phy
> state.
>
> 0h - No device detected and Phy communication not established
> 1h - Device presence detected but Phy communication not established
> 3h - Device presence detected and Phy communication established
> 4h - Phy in offline mode as a result of the interface being disabled or
>       running in a BIST loopback mode
>
> The "Software Initilaization" section also mentions "If PxSSTS.DET
> returns a value of 1h or 3h when read, then system software shall
> continue to the next step, ..."
>
> This makes me think that 1h means "tried to detect device but didn't
> found one" and 0h means "device detection not finished yet".

/me was thinking wrong, scratch that, qemu behavior is fine.

cheers,
   Gerd

      reply	other threads:[~2011-06-24  7:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-23 13:59 [Qemu-devel] [PATCH] ahci: fix device detect emulation Gerd Hoffmann
2011-06-24  7:24 ` Gerd Hoffmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E043BA0.3080502@redhat.com \
    --to=kraxel@redhat.com \
    --cc=agraf@suse.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).