* [PATCH]PPC4XX DMA polarity init fix kernel 2.6.9
@ 2004-12-13 14:08 Colin Wernham
0 siblings, 0 replies; 2+ messages in thread
From: Colin Wernham @ 2004-12-13 14:08 UTC (permalink / raw)
To: mporter; +Cc: inuxppc-dev, linuxppc-embedded
This patch applies to the kernel 2.6.9 and fixes the initialisation of
the DMA channel polarity in the function ppc4xx_init_dma_channel() for
the PPC 4XX processor.
Signed-off-by: Colin P Wernham <cwernham@airspan.com>
--- /home/cwernham/work/linux-2.6.9.old/arch/ppc/syslib/ppc4xx_dma.c
2004-10-18 22:55:35.000000000 +0100
+++ arch/ppc/syslib/ppc4xx_dma.c 2004-12-10 09:19:19.000000000 +0000
@@ -466,7 +466,7 @@ ppc4xx_init_dma_channel(unsigned int dma
/* clear all polarity signals and then "or" in new signal levels */
polarity &= ~GET_DMA_POLARITY(dmanr);
- polarity |= p_dma_ch->polarity;
+ polarity |= p_init->polarity;
#if DCRN_POL > 0
mtdcr(DCRN_POL, polarity);
#endif
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH]PPC4XX DMA polarity init fix kernel 2.6.9
@ 2004-12-13 14:51 Colin Wernham
0 siblings, 0 replies; 2+ messages in thread
From: Colin Wernham @ 2004-12-13 14:51 UTC (permalink / raw)
To: linuxppc-dev
This patch applies to the kernel 2.6.9 and fixes the initialisation of
the DMA channel polarity in the function ppc4xx_init_dma_channel() for
the PPC 4XX processor.
Signed-off-by: Colin P Wernham <cwernham@airspan.com>
--- /home/cwernham/work/linux-2.6.9.old/arch/ppc/syslib/ppc4xx_dma.c
2004-10-18 22:55:35.000000000 +0100
+++ arch/ppc/syslib/ppc4xx_dma.c 2004-12-10 09:19:19.000000000 +0000
@@ -466,7 +466,7 @@ ppc4xx_init_dma_channel(unsigned int dma
/* clear all polarity signals and then "or" in new signal levels */
polarity &= ~GET_DMA_POLARITY(dmanr);
- polarity |= p_dma_ch->polarity;
+ polarity |= p_init->polarity;
#if DCRN_POL > 0
mtdcr(DCRN_POL, polarity);
#endif
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-13 14:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-13 14:08 [PATCH]PPC4XX DMA polarity init fix kernel 2.6.9 Colin Wernham
-- strict thread matches above, loose matches on Subject: below --
2004-12-13 14:51 Colin Wernham
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).