From: Jeff Garzik <jeff@garzik.org>
To: Murali N <nalajala.murali@gmail.com>
Cc: linux-ide <linux-ide@vger.kernel.org>
Subject: Re: On SoC SATA controller driver implementation!!!
Date: Fri, 17 Sep 2010 14:23:30 -0400 [thread overview]
Message-ID: <4C93B222.4040601@garzik.org> (raw)
In-Reply-To: <AANLkTin-bG72N9TSzRFOFYusa+9xZfYOA75zAP0chSFH@mail.gmail.com>
On 09/17/2010 05:54 AM, Murali N wrote:
> Hi All,
>
> I am implementing a SATA driver for my SATA controller which is part of SoC.
> I had seen a generic AHCI controller driver in .35 (ahci_platform.c)
> which is used by SATA controllers part of the SoC and interacting to
> local bus.
>
> My doubts is:
> 1. Can i make use of above framework to implement my own controller
> driver? I know that i have to take care of the "init", "exit" and
> power management routines specific to my controller. Will this work?
> OR do i need to take care of any other additional considerations while
> implementing?
ahci_platform is not a framework, it is an AHCI driver, which uses the
libata and libahci frameworks.
"will it work?" depends entirely on your controller's programming interface.
> I would like to see a reference drivers code which uses the platform
> AHCI controller driver(ahci_platform.c). Can anyone point me to the
> sources.
> My aim is to leverage already existing code as much as possible to
> make my controller works better.
ahci_platform.c and ahci.c use libahci.c framework.
Both use libata framework.
Jeff
prev parent reply other threads:[~2010-09-17 18:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-17 9:54 On SoC SATA controller driver implementation!!! Murali N
2010-09-17 18:23 ` Jeff Garzik [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=4C93B222.4040601@garzik.org \
--to=jeff@garzik.org \
--cc=linux-ide@vger.kernel.org \
--cc=nalajala.murali@gmail.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 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.