linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: dk-arm-linux@gmx.de (Dieter Kiermaier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] OpenRD base: Initialize PCI express and i2c
Date: Fri, 9 Oct 2009 08:51:44 +0200	[thread overview]
Message-ID: <200910090851.44868.dk-arm-linux@gmx.de> (raw)
In-Reply-To: <20091009082645.7e37573d@marrow.netinsight.se>

Hi Simon,

I've tested you patch against 2.6.32-rc3 from Linus' tree and it works fine and applies without any issues.

Without patch:
h-3.2# uname -a
Linux DB88FXX81 2.6.32-rc3-00256-g36a0790 #1 PREEMPT Fri Oct 9 08:44:33 CEST 2009 armv5tel GNU/Linux
sh-3.2#
sh-3.2#
sh-3.2# lspci
sh-3.2#

with applied patch:

sh-3.2# uname -a
Linux DB88FXX81 2.6.32-rc3-00256-g36a0790-dirty #2 PREEMPT Fri Oct 9 08:47:02 CEST 2009 armv5tel GNU/Linux
sh-3.2# lspci
00:00.0 Class 0580: Device 11ab:6281 (rev 02)
00:01.0 Class 0200: Device 10ec:8168 (rev 01)
sh-3.2#

Sorry for the silly question, but what have I do to ack it?

Greetings,
Dieter

> Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
> ---
> Right now I don't have a PCI card to test with, so Dieter: could you
> test the patch and ack it?
> 
> ChangeLog:
> 
> v2:
>   * Rebase against 2.6.32
>   * Remove UART1 initialization (UART1 is not always present - either
>     the SD card or UART1 is selected)
> 
>  arch/arm/mach-kirkwood/openrd_base-setup.c |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-kirkwood/openrd_base-setup.c b/arch/arm/mach-kirkwood/openrd_base-setup.c
> index 947dfb8..77617c7 100644
> --- a/arch/arm/mach-kirkwood/openrd_base-setup.c
> +++ b/arch/arm/mach-kirkwood/openrd_base-setup.c
> @@ -70,8 +70,20 @@ static void __init openrd_base_init(void)
>  	kirkwood_ge00_init(&openrd_base_ge00_data);
>  	kirkwood_sata_init(&openrd_base_sata_data);
>  	kirkwood_sdio_init(&openrd_base_mvsdio_data);
> +
> +	kirkwood_i2c_init();
>  }
>  
> +static int __init openrd_base_pci_init(void)
> +{
> +	if (machine_is_openrd_base())
> +		kirkwood_pcie_init();
> +
> +	return 0;
> + }
> +subsys_initcall(openrd_base_pci_init);
> +
> +
>  MACHINE_START(OPENRD_BASE, "Marvell OpenRD Base Board")
>  	/* Maintainer: Dhaval Vasa <dhaval.vasa@einfochips.com> */
>  	.phys_io	= KIRKWOOD_REGS_PHYS_BASE,

  reply	other threads:[~2009-10-09  6:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-08 11:33 kirkwood: missing pci support for openrd_base board Dieter Kiermaier
2009-10-08 11:33 ` Simon Kagstrom
2009-10-08 11:44   ` Dieter Kiermaier
2009-10-08 12:10     ` Dhaval Vasa
2009-10-08 17:40   ` Nicolas Pitre
2009-10-09  6:26     ` [PATCH v2] OpenRD base: Initialize PCI express and i2c Simon Kagstrom
2009-10-09  6:51       ` Dieter Kiermaier [this message]
2009-10-13  3:29         ` Nicolas Pitre

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=200910090851.44868.dk-arm-linux@gmx.de \
    --to=dk-arm-linux@gmx.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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).