From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: "Subbrathnam, Swaminathan" <swami.iyer@ti.com>
Cc: "linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: sata AHCI controller over non-PCI bus
Date: Mon, 10 Aug 2009 13:03:01 +0400 [thread overview]
Message-ID: <4A7FE245.8020002@ru.mvista.com> (raw)
In-Reply-To: <FCCFB4CDC6E5564B9182F639FC35608702F5989152@dbde02.ent.ti.com>
Hello.
Subbrathnam, Swaminathan wrote:
> Hi,
>
> I would like to post support for OMAPL138 SATA controller that is AHCI 1.1 compliant. OMAPL138 is an ARM926 based platform.
>
> Current "ahci.c" assumes that AHCI is getting supported over PCI by default, whereas the SATA AHCI controller on OMAPL138 is connected to a non-PCI bus. Since I am in the process of posting the support I would like to get the opinion from the community on how to proceed on this front.
Well, you're not the first with this problem, Marvell already had it.
> I see the following 2 options today
>
> 1. #ifdef the PCI specific code in ahci.c and implement the platform_device based implementation to support non-PCI AHCI controllers.
>
I don't think this is a community-acceptable option at all.
> 2. Re-organize the ahci.c to abstract the AHCI functionalities from PCI, non-PCI bus dependencies.
>
> Currently we have implemented Option 1 in our internal tree to support SATA on OMAPL138 platform and it works well. Ideally I would want to proceed with Option 2 but would like get feedback from the community before proceeding in this direction.
See
http://git.kernel.org/?p=linux/kernel/git/jgarzik/libata-dev.git;a=shortlog;h=libahci
for Jeff Garzik's work on separating AHCI support from PCI.
MBR, Sergei
next prev parent reply other threads:[~2009-08-10 9:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-10 8:18 sata AHCI controller over non-PCI bus Subbrathnam, Swaminathan
2009-08-10 9:03 ` Sergei Shtylyov [this message]
2009-08-10 9:20 ` Sergei Shtylyov
2009-08-10 9:22 ` Subbrathnam, Swaminathan
2009-08-16 12:53 ` Jeff Garzik
[not found] ` <4A88014D.9060309-o2qLIJkoznsdnm+yROfE0A@public.gmane.org>
2009-08-16 14:35 ` Subbrathnam, Swaminathan
2009-08-16 15:34 ` James Bottomley
2009-08-16 20:18 ` Jeff Garzik
2009-08-16 16:55 ` 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=4A7FE245.8020002@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=linux-ide@vger.kernel.org \
--cc=swami.iyer@ti.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).