linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Kristen Accardi <kristen.c.accardi@intel.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
	linux-acpi@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
	linux-ide@vger.kernel.org
Subject: Re: 2.6.17-rc5-mm3: oops when ejecting dock
Date: Wed, 7 Jun 2006 12:42:53 +0100	[thread overview]
Message-ID: <20060607114253.GA15531@srcf.ucam.org> (raw)
In-Reply-To: <1149639412.13089.85.camel@whizzy>

On Tue, Jun 06, 2006 at 05:16:52PM -0700, Kristen Accardi wrote:

> Using the eject file won't help for a couple of other reasons besides
> just the name change.  First, it requires that the device be present at
> boot.  Second, AFAIK it just calls the device's _EJ0 method, which I
> don't think is really the only thing that is needed here.  I think we
> also need a generic way to do this without using the ibm driver.  You
> could scan the acpi namespace for IDE controllers based on checking for
> some methods that are used only in IDE or SATA devices and write a acpi
> driver to handle insert/remove events, but it seems like for device
> hotplug though you'd still somehow need to rescan from ide.  To me it
> seems unwise to do anything outside the ide subsystem other than notify
> of an event and call some handler or something.

Does ejecting/docking not generate an IDE bus rescan notification? I've 
got hacky code to support that for SATA hardware, but it's not currently 
usable for PATA. Once the PATA libata code has settled down a little, 
I'll look into that.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2006-06-07 11:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4483EB38.30609@goop.org>
     [not found] ` <1149554579.6006.10.camel@whizzy>
     [not found]   ` <4484D244.3010905@goop.org>
2006-06-06 15:50     ` 2.6.17-rc5-mm3: oops when ejecting dock Kristen Accardi
     [not found]     ` <1149634494.13089.53.camel@whizzy>
2006-06-06 23:34       ` Jeremy Fitzhardinge
2006-06-07  0:16         ` Kristen Accardi
2006-06-07 11:42           ` Matthew Garrett [this message]
2006-06-09  1:15           ` Jeremy Fitzhardinge

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=20060607114253.GA15531@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=akpm@osdl.org \
    --cc=jeremy@goop.org \
    --cc=kristen.c.accardi@intel.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-ide@vger.kernel.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).