Re: dma fails in re-insmod

2007-12-10 Thread Sumudu Nishantha
Hi thomas, >It can be a driver problem, but as you haven't posted your code source, >nobody is able to tell. Are you doing the correct things at module >exit ? These are some parts of my code. within probe funcion -

Re: dma fails in re-insmod

2007-12-08 Thread Sumudu Nishantha
Hi Thomas, > > It can be a driver problem, but as you haven't posted your code source, > nobody is able to tell. Are you doing the correct things at module > exit ? I don't have the source code right now. I will post it by tomorrow. But only thing done at module exit related to dma is deallocat

Re: dma fails in re-insmod

2007-12-07 Thread Thomas Petazzoni
Le Thu, 6 Dec 2007 22:47:35 +0900, "Sumudu Nishantha" <[EMAIL PROTECTED]> a écrit : > My guess is a hardware problem. > can it be a problem of the driver or anything to do with > the kernel?? > There is no register to reset dma.(no idea whether it is > necessary). It can be a driver problem, but

dma fails in re-insmod

2007-12-06 Thread Sumudu Nishantha
Dear all, I am developing a pci driver for a specific card. It uses dma transfer and my problem is the dma transfer goes well once insmod the module. If unload(rmmod) and load(load) again, dma transferring does not occur. Simply the dma interrupt does not occur. what i hv done is as follows. When