On Tue, Jan 20, 2009 at 6:15 AM, Dave Best wrote: > I'm trying to write a driver which uses the Local Plus Bus on my MPC5200B and therefore have to use BestComm DMA, which requires me to use a Gen_BD task for data transfer with Local Plus. > I tried to follow the fec driver that is currently used and took a peek at the mpc52xx-ac97 driver which at least uses the same kind of bus as I. > > Initialising the task, resetting and enabling works fine. Even request_irq reports no error, but when I start a transfer it hangs and if I am lucky, an interrupt occurs after quite some time. But it's always the BestComm ethernet rx task which produces an RFIFO interrupt, presumably after the watchdog catches on. > If this happens my interrupt occurs to. Are you using the LocalPlus fifo device for the transfer (you need to if you aren't)? I've attached a test driver that demonstrates how to do FIFO only and FIFO+DMA transfers over the localplus bus. g. -- Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.