From: Tejun Heo <htejun@gmail.com>
To: snatcher snatcher <snatcher93@rocketmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: Re : sata_sil problems with SIL3512 controler on a ppc target
Date: Wed, 15 Nov 2006 21:59:46 +0900 [thread overview]
Message-ID: <455B0F42.5030709@gmail.com> (raw)
In-Reply-To: <20061109103313.95820.qmail@web51414.mail.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]
snatcher snatcher wrote:
> By checking the old 2.4.20 driver used for this device, I've found
> the following lines :
>
> #ifdef CONFIG_BUFFALO_PLATFORM
> writel(0x10401554, mmio_base + 0x14c);
> writel(0x10401554, mmio_base + 0x1cc);
> #endif in the sil_init_one function (in sata_sil.c)...
>
> After some google searching, I've found this message from this
> mailing list : http://www.spinics.net/lists/linux-ide/msg00047.html
> => It says that for SiI 3114 contoler, we need to force write
> 0x10401554 instead of 0x10401555 in sfis_cfg (SATA FIS reception
> config register). By looking in the source code of the latest
> version, it looks like my controler (Sil 3512) is set to apply this
> workaround too, but according to my boot log, it's not applying it
> (It should write "Applying R_ERR on DMA / activate FIS errata fix"
> just after the error about the PCI cache). I'll add some traces to
> understand what's happening and I'll tell you ... Sylver
Please apply the attached patch and report what happens.
--
tejun
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 508 bytes --]
diff --git a/drivers/ata/sata_sil.c b/drivers/ata/sata_sil.c
index f844a1f..5c34f75 100644
--- a/drivers/ata/sata_sil.c
+++ b/drivers/ata/sata_sil.c
@@ -593,8 +593,6 @@ static void sil_init_controller(struct p
for (i = 0, cnt = 0; i < n_ports; i++) {
tmp = readl(mmio_base + sil_port[i].sfis_cfg);
- if ((tmp & 0x3) != 0x01)
- continue;
if (!cnt)
dev_printk(KERN_INFO, &pdev->dev,
"Applying R_ERR on DMA activate "
diff --git a/include/linux/libata.h b/include/linux/libata.h
prev parent reply other threads:[~2006-11-15 12:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-09 10:33 Re : sata_sil problems with SIL3512 controler on a ppc target snatcher snatcher
2006-11-15 12:59 ` Tejun Heo [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=455B0F42.5030709@gmail.com \
--to=htejun@gmail.com \
--cc=linux-ide@vger.kernel.org \
--cc=snatcher93@rocketmail.com \
/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).