From: Tejun Heo <htejun@gmail.com>
To: Jon Chelton <jchelton@ffpglobal.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: sata_sil24 with port multiplier
Date: Fri, 21 Sep 2007 19:55:21 +0900 [thread overview]
Message-ID: <46F3A319.2010806@gmail.com> (raw)
In-Reply-To: <FD6311B7ED175B4480F31633F6098B4D911C41@ffpglobal_mail.corp.ffplus.net>
[-- Attachment #1: Type: text/plain, Size: 404 bytes --]
Jon Chelton wrote:
> Hello,
>
>
>
> I am having issues using kernel 2.6.22.1 with your latest patch
> applied. I am using a Addonics 4 port SATA card with an external
> enclosure and port multiplier connected to 4 250GB western digital SATA
> drives. I am receiving this error frequently (on 2 systems with
> identical kernels and hardware).
Does the attached patch fix the problem?
--
tejun
[-- Attachment #2: sil24-irq-woc-fix.patch --]
[-- Type: text/x-patch, Size: 865 bytes --]
---
drivers/ata/sata_sil24.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: work/drivers/ata/sata_sil24.c
===================================================================
--- work.orig/drivers/ata/sata_sil24.c
+++ work/drivers/ata/sata_sil24.c
@@ -1138,6 +1138,9 @@ static inline void sil24_host_intr(struc
u32 slot_stat, qc_active;
int rc;
+ if (ap->flags & SIL24_FLAG_PCIX_IRQ_WOC)
+ writel(PORT_IRQ_COMPLETE, port + PORT_IRQ_STAT);
+
slot_stat = readl(port + PORT_SLOT_STAT);
if (unlikely(slot_stat & HOST_SSTAT_ATTN)) {
@@ -1145,9 +1148,6 @@ static inline void sil24_host_intr(struc
return;
}
- if (ap->flags & SIL24_FLAG_PCIX_IRQ_WOC)
- writel(PORT_IRQ_COMPLETE, port + PORT_IRQ_STAT);
-
qc_active = slot_stat & ~HOST_SSTAT_ATTN;
rc = ata_qc_complete_multiple(ap, qc_active, sil24_finish_qc);
if (rc > 0)
next parent reply other threads:[~2007-09-21 10:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <FD6311B7ED175B4480F31633F6098B4D911C41@ffpglobal_mail.corp.ffplus.net>
2007-09-21 10:55 ` Tejun Heo [this message]
2007-09-21 17:41 sata_sil24 with port multiplier Jon Chelton
2007-09-23 3:25 ` Tejun Heo
-- strict thread matches above, loose matches on Subject: below --
2007-09-22 0:00 Thomas Evans
2007-09-23 3:34 Jon Chelton
2007-09-23 3:36 ` Tejun Heo
2007-09-23 3:56 Jon Chelton
2007-09-27 21:01 Jon Chelton
2007-09-28 10:24 ` Tejun Heo
2007-09-28 16:08 Jon Chelton
2007-09-28 16:51 ` Tejun Heo
2007-09-28 18:25 Jon Chelton
2007-09-28 21:48 ` Tejun Heo
2007-09-29 4:47 ` Bruce Allen
2007-09-29 19:14 Jon Chelton
2007-10-02 12:07 ` Bruce Allen
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=46F3A319.2010806@gmail.com \
--to=htejun@gmail.com \
--cc=jchelton@ffpglobal.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.