Re: [patch 1/6] pasemi_mac: Move RX/TX section enablement to dma_lib

2008-02-26 Thread Olof Johansson
Hi, On Tue, Feb 26, 2008 at 10:46:06PM +1100, Michael Ellerman wrote: > On Wed, 2008-02-20 at 20:57 -0600, Olof Johansson wrote: > > + i = 1000; > > + pasemi_write_dma_reg(PAS_DMA_COM_RXCMD, 0); > > + while ((i > 0) && (pasemi_read_dma_reg(PAS_DMA_COM_RXSTA) & 1)) > > + i--; > > +

Re: [patch 1/6] pasemi_mac: Move RX/TX section enablement to dma_lib

2008-02-26 Thread Michael Ellerman
On Wed, 2008-02-20 at 20:57 -0600, Olof Johansson wrote: > plain text document attachment (in-progress) > Also stop both rx and tx sections before changing the configuration of > the dma device during init. > > Signed-off-by: Olof Johansson <[EMAIL PROTECTED]> > > Index: k.org/arch/powerpc/platfo

[patch 1/6] pasemi_mac: Move RX/TX section enablement to dma_lib

2008-02-20 Thread Olof Johansson
Also stop both rx and tx sections before changing the configuration of the dma device during init. Signed-off-by: Olof Johansson <[EMAIL PROTECTED]> Index: k.org/arch/powerpc/platforms/pasemi/dma_lib.c === --- k.org.orig/arch/powerpc