WaitForSingleObject in linux????..

2001-01-08 Thread MOHAMMED AZAD
Hi all, I am porting a NT driver and app into linux... Currently i am having a problem in the application part... The scenario is as follows.. I have a function foo(param1, timeout)... what this function has to do is wait for param1 to be set true.. ie wait for this varibale to be set till the t

reg: Using mmap in 2.0.32 kernel..

2001-01-02 Thread MOHAMMED AZAD
Hi all, I am trying to mmap some kernel ram into user space... These r the steps i followed.. 1) Allocate memory in kernel using get_free_pages.. 2) reserve these pages using mem_map_reserve macro 3) In the mmap () implementation i use remap_page_range to export the buffer to user space.. All

reg memory allocated by kmalloc

2000-12-18 Thread MOHAMMED AZAD
Hi all, I would like to know.. is memory allocated by kmalloc always double word aligned.. and is this suitable for dma only if i use GFP_DMA priority... i mean dma for a pci device... or can i just specify GFP_KERNEL and use it is it safe to proceed in this way??? thanks azad - To unsub

Locking User memory pages from a driver....

2000-11-21 Thread MOHAMMED AZAD
Hi all, How do i lock user mode memmory pages from kernel mode driver.. so that i can access it whenever i need to from the driver I am using linux kernel 2.2.14.. can this be done in this kernel version... or is it supported in some other newer versions.. like 2.4.. TIA azad - To unsubscrib

Asynchronous processing...

2000-11-21 Thread MOHAMMED AZAD
Hi All, I am working on a crypto driver on linux kernel 2.2.14.. Currently my app provides data to the driver and the driver process the data (say encrypt) and gives it back to the app... This is a synchronous transfer mode.. But i want to do this in an asynchronous manner ie user app supplie

Transferring data between user and kernel space...

2000-10-18 Thread MOHAMMED AZAD
Hi all, I would like to transfer a huge buffer (say 128k) from user space to kernel space and return the result in the same buffer so that the user can access the processed data from that... since these pages passed from the user spcae may be fragmented how do i make them contiguous from user spa

driver compatible on 2.0.x to 2.2.x kernels

2000-09-28 Thread MOHAMMED AZAD
Hi all, I am developing a driver for a crypto card... and i need this driver to run on different kernel versions say 2.0.x to 2.2.x... how do i do that or is it better not to support backward kernels like 2.0 any help appreciated... thanks in advance azad - To unsubscribe from this list

CS8920 Crystal lan adapter driver.

2000-09-23 Thread MOHAMMED AZAD
Hi all, Any one using crystal lan cs8920 adapters.??? .. mine is a cs8920 crystal lan adapter.. as per the driver source.. driver does not support pnp.. and i need to disable it... after disabling pnp and giving an irq and i/o address the driver gets loaded.. but still i am not able to config

CRYPTO CARD ADSP 2141

2000-09-23 Thread MOHAMMED AZAD
Hi all, Any one working on drivers for adsp 2141 crypto cards???... thanks azad - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

IOREMAP

2000-09-22 Thread MOHAMMED AZAD
Hi all, How does ioremap work???... does it allocate memory after a remap operation.. can someone throw some light on this... any help appreciated... thanks azad - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read th