* [PATCH] PowerPC 44x: small warp-nand fix
@ 2008-06-05 13:36 Valentine Barshak
2008-06-05 14:28 ` Stefan Roese
0 siblings, 1 reply; 3+ messages in thread
From: Valentine Barshak @ 2008-06-05 13:36 UTC (permalink / raw)
To: linuxppc-dev; +Cc: sr, smaclennan
The "ndfc-chip" device doesn't need any resources. All resources
are handled by the "ndfc-nand" device. Registering the same memory
resource twice causes "cat /proc/iomem" to go into an infinite loop
displaying NDFC memory addresses.
Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
---
arch/powerpc/platforms/44x/warp-nand.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
--- linux-2.6.orig/arch/powerpc/platforms/44x/warp-nand.c 2008-04-25 22:04:50.000000000 +0400
+++ linux-2.6/arch/powerpc/platforms/44x/warp-nand.c 2008-06-05 17:24:06.000000000 +0400
@@ -86,8 +86,7 @@ static struct platform_nand_chip warp_na
static struct platform_device warp_nand_device = {
.name = "ndfc-chip",
.id = 0,
- .num_resources = 1,
- .resource = &warp_ndfc,
+ .num_resources = 0,
.dev = {
.platform_data = &warp_nand_chip0,
.parent = &warp_ndfc_device.dev,
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] PowerPC 44x: small warp-nand fix
2008-06-05 13:36 [PATCH] PowerPC 44x: small warp-nand fix Valentine Barshak
@ 2008-06-05 14:28 ` Stefan Roese
2008-06-06 2:20 ` Sean MacLennan
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Roese @ 2008-06-05 14:28 UTC (permalink / raw)
To: Valentine Barshak; +Cc: linuxppc-dev, smaclennan
On Thursday 05 June 2008, Valentine Barshak wrote:
> The "ndfc-chip" device doesn't need any resources. All resources
> are handled by the "ndfc-nand" device. Registering the same memory
> resource twice causes "cat /proc/iomem" to go into an infinite loop
> displaying NDFC memory addresses.
>
> Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
Acked-by: Stefan Roese <sr@denx.de>
Best regards,
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] PowerPC 44x: small warp-nand fix
2008-06-05 14:28 ` Stefan Roese
@ 2008-06-06 2:20 ` Sean MacLennan
0 siblings, 0 replies; 3+ messages in thread
From: Sean MacLennan @ 2008-06-06 2:20 UTC (permalink / raw)
To: Stefan Roese; +Cc: linuxppc-dev, sean.maclennan
On Thu, 5 Jun 2008 16:28:18 +0200
"Stefan Roese" <sr@denx.de> wrote:
> n Thursday 05 June 2008, Valentine Barshak wrote:
> > The "ndfc-chip" device doesn't need any resources. All resources
> > are handled by the "ndfc-nand" device. Registering the same memory
> > resource twice causes "cat /proc/iomem" to go into an infinite loop
> > displaying NDFC memory addresses.
> >
> > Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
>
> Acked-by: Stefan Roese <sr@denx.de>
Acked-by: Sean MacLennan <smaclennan@pikatech.com>
Cheers,
Sean
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-06 2:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-05 13:36 [PATCH] PowerPC 44x: small warp-nand fix Valentine Barshak
2008-06-05 14:28 ` Stefan Roese
2008-06-06 2:20 ` Sean MacLennan
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).