From: Matt Sealey <matt@genesi-usa.com>
To: linux-ide@vger.kernel.org
Subject: Re: [PATCH] Native-mode fix for Pegasos pata_via
Date: Wed, 11 Jul 2007 23:39:23 +0100 [thread overview]
Message-ID: <46955C1B.6000108@genesi-usa.com> (raw)
In-Reply-To: <4694EF08.9000607@genesi-usa.com>
Okay we got a tester and it sort of works.
There were some timeout errors though, and the irq reported by the printk's
is irq 0 (this would explain why there is a timeout!)..
I am curious as to why this would happen, is there some kind of settle time
for making these changes, or does libata reevaluate it's IRQ usage between
the printk and enabling/using DMA (I would expect it does, but it doesn't
help having 4 timeouts!?)
Any comments here would be welcome.
http://www.powerdeveloper.org/forums/viewtopic.php?p=8433#8433
--
Matt Sealey <matt@genesi-usa.com>
Genesi, Manager, Developer Relations
Matt Sealey wrote:
> PATCH..
>
> ~
>
> Pegasos currently sets it's IDE controller to PCI native mode but leaves the
> ISA IDE IRQ steering set to 14/15 and IDE Interrupt Routing to compatibility
> mode to keep compatibility with some old broken block drivers.
>
> Rather than clutter up libata with such things for one platform, the fix is
> to force the controller into native mode here.
>
> We only enable this fix if we are using libata drivers, to avoid breaking
> the old block driver as was the intention of the firmware configuration.
> Currently won't work if the IDE interrupt line isn't set to 14, however the
> chances of this happening on Pegasos are very slim. It just makes the fixup
> easier.
>
> ~
>
> This is TOTALLY untested but it does compile just fine. If anyone could throw
> in some suggestions it would be awesome. Testing the patch (minus the checks
> for pata_via being compiled) with via86cxxx would be great too. I just don't
> have a Pegasos I or II handy here to run any of this.
>
prev parent reply other threads:[~2007-07-11 22:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-11 14:54 [PATCH] Native-mode fix for Pegasos pata_via Matt Sealey
2007-07-11 22:39 ` Matt Sealey [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=46955C1B.6000108@genesi-usa.com \
--to=matt@genesi-usa.com \
--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).