From: Matthew Wilcox <matthew@wil.cx>
To: Ben Dooks <ben-linux@fluff.org>
Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org,
linux-ide@vger.kernel.org, Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: PCI: Add ALI M5229 comaptibility mode quirk
Date: Fri, 12 Sep 2008 07:26:37 -0600 [thread overview]
Message-ID: <20080912132637.GB10844@parisc-linux.org> (raw)
In-Reply-To: <20080912130043.GF322@trinity.fluff.org>
On Fri, Sep 12, 2008 at 02:00:43PM +0100, Ben Dooks wrote:
> On Fri, Sep 12, 2008 at 06:33:40AM -0600, Matthew Wilcox wrote:
> > On Fri, Sep 12, 2008 at 12:22:52PM +0100, Ben Dooks wrote:
> > > The M5229 implementation embedded into the ALI M1543 uses the
> > > M1543's ISA PIC to provide the interrupts and thus does not have
> > > an valid PCI IRQ set. This quirk detects the abscence of IRQ and
> > > sets the M5229 back into compatibility mode to use IRQs 14 and 15
> > > so that libata works correctly.
> >
> > Why does this need to be a quirk rather than something in the libata ALi
> > driver?
>
> The short answer is that "Alan Cox says not in libata", the longer
> one can be found:
>
> http://www.archivum.info/linux-ide@vger.kernel.org/2008-07/msg00410.html
Thanks for the reference. I've now read that thread. I'm not entirely
convinced Alan is right; I think it's preferable to confine this
quirking to the driver and fix up the BARs in the driver as well.
--
Matthew Wilcox Intel Open Source Technology Centre
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
next prev parent reply other threads:[~2008-09-12 13:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20080912112252.505651015@fluff.org.uk>
2008-09-12 12:33 ` PCI: Add ALI M5229 comaptibility mode quirk Matthew Wilcox
2008-09-12 13:00 ` Ben Dooks
2008-09-12 13:26 ` Matthew Wilcox [this message]
2008-09-12 13:42 ` Ben Dooks
2008-09-13 14:24 ` Jeff Garzik
2008-09-14 20:46 ` Ben Dooks
[not found] <fa.5x39Eh02m9rtrn5GDRnZ3IcV/z8@ifi.uio.no>
[not found] ` <fa.bfF4DSr1eMYmEl5E90sppi2wbuU@ifi.uio.no>
2008-09-13 17:31 ` Robert Hancock
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=20080912132637.GB10844@parisc-linux.org \
--to=matthew@wil.cx \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=ben-linux@fluff.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@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).