From: Rob Herring <rob.herring@calxeda.com>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/1] ahci-generic: add oftree support
Date: Tue, 12 Feb 2013 07:41:05 -0600 [thread overview]
Message-ID: <511A4671.2070000@calxeda.com> (raw)
In-Reply-To: <1360674608-12732-1-git-send-email-plagnioj@jcrosoft.com>
On 02/12/2013 07:10 AM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> calxeda use the generic driver but have it's own compatible cf Linux kernel
> Documentation
>
> Cc: Rob Herring <rob.herring@calxeda.com>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
> drivers/ata/ahci-generic.c | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
> diff --git a/drivers/ata/ahci-generic.c b/drivers/ata/ahci-generic.c
> index 4077627..62f2a19 100644
> --- a/drivers/ata/ahci-generic.c
> +++ b/drivers/ata/ahci-generic.c
> @@ -35,9 +35,20 @@ err_free:
> return ret;
> }
>
> +static __maybe_unused struct of_device_id ahci_dt_ids[] = {
> + {
> + .compatible = "ahci",
I don't believe this is a documented compatible value.
> + }, {
> + .compatible = "calxeda,hb-ahci",
> + }, {
> + /* sentinel */
> + }
> +};
> +
> static struct driver_d ahci_driver = {
> .name = "ahci",
> .probe = ahci_probe,
> + .of_compatible = DRV_OF_COMPAT(ahci_dt_ids),
> };
>
> static int ahci_init(void)
>
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2013-02-12 13:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-12 13:10 Jean-Christophe PLAGNIOL-VILLARD
2013-02-12 13:41 ` Rob Herring [this message]
2013-02-12 14:10 ` Jean-Christophe PLAGNIOL-VILLARD
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=511A4671.2070000@calxeda.com \
--to=rob.herring@calxeda.com \
--cc=barebox@lists.infradead.org \
--cc=plagnioj@jcrosoft.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