linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: "zhao, forrest" <forrest.zhao@intel.com>
Cc: Tejun Heo <htejun@gmail.com>, Alan Cox <alan@lxorguk.ukuu.org.uk>,
	axboe@htj.dyndns.org, Albert Lee <albertcc@tw.ibm.com>,
	Lukasz Kosewski <lkosewsk@gmail.com>,
	linux-ide@vger.kernel.org
Subject: Re: updated new EH and hotplug support are about to be posted...
Date: Thu, 13 Apr 2006 23:30:56 -0400	[thread overview]
Message-ID: <443F1770.1040403@pobox.com> (raw)
In-Reply-To: <1144982795.19687.35.camel@localhost.localdomain>

zhao, forrest wrote:
> BTW. Is there a way to check whether SATA controller support
> hotplug, such as a capability bit in certain register?

For AHCI, all controllers support hotplug.

Most SATA controllers support hotplug, across all vendors.

If you're lucky, silicon has a phy interrupt.  If you're somewhat lucky, 
silicon has a PhyRdy state interrupt.  If you're stuck with a BMDMA 
interface with bolted-on SATA PHY registers, hotplug will -probably- work.


> Or we have to first enable PHY status changed interrupt, then
> hotplug the SATA disk, then to check if the interrupt is triggered,
> and PHY RDY status changes?

The interrupt is quite helpful, but ultimately optional.

	Jeff



      reply	other threads:[~2006-04-14  3:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-11 13:08 updated new EH and hotplug support are about to be posted Tejun Heo
2006-04-14  2:46 ` zhao, forrest
2006-04-14  3:30   ` Jeff Garzik [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=443F1770.1040403@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=albertcc@tw.ibm.com \
    --cc=axboe@htj.dyndns.org \
    --cc=forrest.zhao@intel.com \
    --cc=htejun@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=lkosewsk@gmail.com \
    /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).