linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sata AHCI controller over non-PCI bus
@ 2009-08-10  8:18 Subbrathnam, Swaminathan
  2009-08-10  9:03 ` Sergei Shtylyov
  0 siblings, 1 reply; 9+ messages in thread
From: Subbrathnam, Swaminathan @ 2009-08-10  8:18 UTC (permalink / raw)
  To: linux-ide@vger.kernel.org

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.  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.

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.

 

Regards

swami


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-08-16 20:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-10  8:18 sata AHCI controller over non-PCI bus Subbrathnam, Swaminathan
2009-08-10  9:03 ` Sergei Shtylyov
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

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).