ssage -
From: "Rajat Jain" <[EMAIL PROTECTED]>
To: "Sumudu Nishantha" <[EMAIL PROTECTED]>;
Sent: Thursday, December 13, 2007 9:15 PM
Subject: RE: synchronize user & kernel spaces
Hi,
Instead of looping forever in the user space, you could sleep in the
drive
Hi,
It's different from user space drivers.
I will give my algorithm bit.
Then you will get the point.
user write funcion
--
usr_write_dma( char *buf, int len )
{
while( len > 0 ){
if( len > DMA_BUF_MAX )
ln = DMA_
Hi all,
I want to send the data to kernel space and wait till
the interrupt finishes.(PCI dma transfer)
I could do it using a shared variable between user and
kernel spaces. Then polling is done in the user space
checking the shared variable.
But this is not an effective way.
I want to use wait/
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
-
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
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
memory.
Thank you very very much.
Sumudu
- Original Message -
From: "Rene Herman" <[EMAIL PROTECTED]>
To: "Sumudu Nishantha" <[EMAIL PROTECTED]>
Cc:
Sent: Friday, November 23, 2007 1:49 AM
Subject: Re: ioremap problem
On 22-11-07 17:08, Rene Herman
Dear all,
I am new to this group as well as to the driver development.
I am developing a PCI driver with the following specification.
CPU: Intel celeron M 1.4GHz
memory : 1GB
kernel : kernel 2.6.15-r1
swap : 4GB
my driver works well with 512M RAM but it gives an error when I