Re: How to access DCR registers in powerpc440gx? Got err when use macro def in Linux kernel

2009-09-14 Thread Arnd Bergmann
On Friday 11 September 2009, David Gibson wrote: > On Fri, Sep 11, 2009 at 12:14:55PM +0800, g r1x wrote: > > Now, I'm writing a DMA driver on powerpc > > 440gx platform(2.6.26.5), as the only way to set up DMA Controller is > > to access it's dcr registers with 'mfdcr' and 'mtdcr'. > > > > I've f

Re: How to access DCR registers in powerpc440gx? Got err when use macro def in Linux kernel

2009-09-10 Thread David Gibson
On Fri, Sep 11, 2009 at 12:14:55PM +0800, g r1x wrote: > Now, I'm writing a DMA driver on powerpc > 440gx platform(2.6.26.5), as the only way to set up DMA Controller is > to access it's dcr registers with 'mfdcr' and 'mtdcr'. > > I've found some dma code in Linux kernel 2.6.26.5, so I copy the co

How to access DCR registers in powerpc440gx? Got err when use macro def in Linux kernel

2009-09-10 Thread g r1x
Now, I'm writing a DMA driver on powerpc 440gx platform(2.6.26.5), as the only way to set up DMA Controller is to access it's dcr registers with 'mfdcr' and 'mtdcr'. I've found some dma code in Linux kernel 2.6.26.5, so I copy the code u wrote to my driver module directory, and include them, but w

How to access DCR registers in powerpc440gx? Got err when use macro def in Linux kernel

2009-09-10 Thread g r1x
Now, I'm writing a DMA driver on powerpc 440gx platform(2.6.26.5), as the only way to set up DMA Controller is to access it's dcr registers with 'mfdcr' and 'mtdcr'. I've found some dma code in Linux kernel 2.6.26.5, so I copy the code u wrote to my driver module directory, and include them, but w