This seems to be a good way.
It will block other processes accessing pci during dma
transfer. There are several processes which use the pci.
Therefore I don't want to block pci for a long time.
Anyway if there is no any other way, I will do that.

Thanx a lot.
Sumudu

----- Original Message ----- From: "Rajat Jain" <[EMAIL PROTECTED]>
To: "Sumudu Nishantha" <[EMAIL PROTECTED]>; <[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 driver's ioctl() method (This would implicitly cause the user application to sleep). The driver's ioctl() would be waken up by the interrupt handler.

Thanks,

Rajat

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to