From: Jeremy Higdon <jeremy@sgi.com>
To: Ajit Prem <Ajit.Prem@motorola.com>
Cc: Jeff Garzik <jgarzik@pobox.com>, linux-ide@vger.kernel.org
Subject: Re: 31244 & sata_vsc & PPC
Date: Fri, 18 Feb 2005 22:02:53 -0800 [thread overview]
Message-ID: <20050219060253.GC720678@sgi.com> (raw)
In-Reply-To: <4213F1AA.6060500@motorola.com>
On Wed, Feb 16, 2005 at 06:21:46PM -0700, Ajit Prem wrote:
>
> It's just a dirty hack that works
> for the limited case where I'm
> using only 1 disk off port 1 on a
> board that makes 3 ports available.
> I'm not sure what the side effects
> are, or how things will work if
> all 3 ports are used (which I'm
> unable to test).
>
> Anyway, here's the hack I used:
>
> @@ -174,6 +174,9 @@
> if (ap && (!(ap->flags & ATA_FLAG_PORT_DISABLED))) {
> struct ata_queued_cmd *qc;
>
> + vsc_sata_scr_write(ap, VSC_SATA_SCR_ERROR_OFFSET, 0x00010001);
I think this should be 0x00010002, since you're trying to clear
bits 1 and 16.
> + readl((void *)ap->ioaddr.status_addr);
> +
> qc = ata_qc_from_tag(ap, ap->active_tag);
> if (qc && (!(qc->tf.ctl & ATA_NIEN)))
> handled += ata_host_intr(ap, qc);
jeremy
prev parent reply other threads:[~2005-02-19 6:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-16 19:05 31244 & sata_vsc & PPC Ajit Prem
2005-02-16 19:08 ` Jeff Garzik
2005-02-16 20:51 ` Ajit Prem
2005-02-19 6:01 ` Jeremy Higdon
2005-02-16 21:27 ` Ajit Prem
2005-02-16 22:25 ` Jeff Garzik
2005-02-17 1:21 ` Ajit Prem
2005-02-19 6:02 ` Jeremy Higdon [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=20050219060253.GC720678@sgi.com \
--to=jeremy@sgi.com \
--cc=Ajit.Prem@motorola.com \
--cc=jgarzik@pobox.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).