linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mach-iop32x/ Add nec ns-50 / ApplianceWare sanmina support
       [not found] <87ocr6uyhx.fsf@lechat.rtp-net.org>
@ 2009-08-30 23:46 ` Dan Williams
  2009-09-23 19:48   ` Arnaud Patard (Rtp)
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Williams @ 2009-08-30 23:46 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jul 27, 2009 at 5:00 AM, Arnaud Patard<arnaud.patard@rtp-net.org> wrote:
> Hi,
>
> This patch is adding support for the nec ns-50/ApplianceWare Sanmina
> platform. This platforms is a nas based on iop80219 SoC.
>
> This code has been tested on 2.6.31-rc*
>

Looks ok to me except for the bit modifying arch/arm/tools/mach-types.
 You missed the notice at the top of the file:

# Please do not send patches to this file; it is automatically generated!
# To add an entry into this database, please see Documentation/arm/README,
# or visit:
#
#   http://www.arm.linux.org.uk/developer/machines/?action=new

--
Dan

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

* [PATCH] mach-iop32x/ Add nec ns-50 / ApplianceWare sanmina support
  2009-08-30 23:46 ` [PATCH] mach-iop32x/ Add nec ns-50 / ApplianceWare sanmina support Dan Williams
@ 2009-09-23 19:48   ` Arnaud Patard (Rtp)
  2009-09-24 21:59     ` Russell King - ARM Linux
  0 siblings, 1 reply; 4+ messages in thread
From: Arnaud Patard (Rtp) @ 2009-09-23 19:48 UTC (permalink / raw)
  To: linux-arm-kernel

Dan Williams <dan.j.williams@intel.com> writes:

Hi,

> On Mon, Jul 27, 2009 at 5:00 AM, Arnaud Patard<arnaud.patard@rtp-net.org> wrote:
>> Hi,
>>
>> This patch is adding support for the nec ns-50/ApplianceWare Sanmina
>> platform. This platforms is a nas based on iop80219 SoC.
>>
>> This code has been tested on 2.6.31-rc*
>>
>
> Looks ok to me except for the bit modifying arch/arm/tools/mach-types.

oops. Sent the wrong patch :(

New patch attached below.

Arnaud



This patch is adding support for the nec ns-50/ApplianceWare Sanmina
platform. This platforms is a nas based on iop80219 SoC.


Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
---
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sanmina.patch
Type: text/x-diff
Size: 8050 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20090923/41e60f51/attachment-0001.bin>

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

* [PATCH] mach-iop32x/ Add nec ns-50 / ApplianceWare sanmina support
  2009-09-23 19:48   ` Arnaud Patard (Rtp)
@ 2009-09-24 21:59     ` Russell King - ARM Linux
  2009-09-25  8:27       ` Arnaud Patard (Rtp)
  0 siblings, 1 reply; 4+ messages in thread
From: Russell King - ARM Linux @ 2009-09-24 21:59 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Sep 23, 2009 at 09:48:11PM +0200, Arnaud Patard wrote:
> +static struct plat_serial8250_port sanmina_serial_port[] = {
> +	{
> +		.mapbase	= IQ31244_UART,
> +		.membase	= (char *)IQ31244_UART,

This can't be right.

> +		.irq		= IRQ_IOP32X_XINT3,
> +		.flags		= UPF_SKIP_TEST | UPF_SHARE_IRQ,
> +		.iotype		= UPIO_MEM,
> +		.regshift	= 0,
> +		.uartclk	= 14745600,
> +	},
> +	{ },
> +};
> +
> +static struct resource sanmina_uart_resource = {
> +	.start		= IQ31244_UART,
> +	.end		= IQ31244_UART + 0x3f,

and neither can this.  Resources are bus addresses, not virtual addresses.

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

* [PATCH] mach-iop32x/ Add nec ns-50 / ApplianceWare sanmina support
  2009-09-24 21:59     ` Russell King - ARM Linux
@ 2009-09-25  8:27       ` Arnaud Patard (Rtp)
  0 siblings, 0 replies; 4+ messages in thread
From: Arnaud Patard (Rtp) @ 2009-09-25  8:27 UTC (permalink / raw)
  To: linux-arm-kernel

Russell King - ARM Linux <linux@arm.linux.org.uk> writes:

Hi,

> On Wed, Sep 23, 2009 at 09:48:11PM +0200, Arnaud Patard wrote:
>> +static struct plat_serial8250_port sanmina_serial_port[] = {
>> +	{
>> +		.mapbase	= IQ31244_UART,
>> +		.membase	= (char *)IQ31244_UART,
>
> This can't be right.

It is kind of right and it's working fine. You've made the same remark
when I've submitted the em7210 support :) (fwiw, the sanmina.c file is
based on my em7210.c code) See
http://lists.arm.linux.org.uk/lurker/message/20070715.164059.ac9fbe0a.en.html


Arnaud

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

end of thread, other threads:[~2009-09-25  8:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87ocr6uyhx.fsf@lechat.rtp-net.org>
2009-08-30 23:46 ` [PATCH] mach-iop32x/ Add nec ns-50 / ApplianceWare sanmina support Dan Williams
2009-09-23 19:48   ` Arnaud Patard (Rtp)
2009-09-24 21:59     ` Russell King - ARM Linux
2009-09-25  8:27       ` Arnaud Patard (Rtp)

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