linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Tejun Heo <htejun@gmail.com>
Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,
	jgarzik@pobox.com
Subject: Re: ata_piix failure on ich6m
Date: Thu, 11 May 2006 09:11:40 +0100	[thread overview]
Message-ID: <20060511081140.GA21594@srcf.ucam.org> (raw)
In-Reply-To: <44629E68.3020302@gmail.com>

On Thu, May 11, 2006 at 11:16:08AM +0900, Tejun Heo wrote:

> I'm not very sure but it might be historical.  ahci got implemented 
> after ata_piix and in the meantime ata_piix must have handled all it 
> could.  Can you verify whether modifying the code to return -ENODEV work 
> for your machine?  If so, that could be the correct solution but I'm a 
> bit worried because it could change probing order or fail to enable 
> devices it used to.  Maybe we need a hack to return -ENODEV iff ahci is 
> there to handle the device.

I can verify that just loading ahci before ata_piix is successful, and 
udev will load both of them since the PCI IDs match. So just having 
ata_piix refuse to bind would solve the problem. Unfortunately I can't 
see a way of doing this only if ahci is present if they're modular...

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

  reply	other threads:[~2006-05-11  8:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-10 23:56 ata_piix failure on ich6m Matthew Garrett
2006-05-11  2:16 ` Tejun Heo
2006-05-11  8:11   ` Matthew Garrett [this message]
2006-05-11 15:45     ` Randy.Dunlap
2006-05-11 16:16       ` Matthew Garrett
2006-05-13  3:42   ` Jeff Garzik

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=20060511081140.GA21594@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=htejun@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@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).