On Mon, May 13, 2002 at 10:33:00AM -0500, David Stroupe wrote: > > #define THECALL _IOWR(UNIQUEMAGIC, 0x0d, DMA) This is correct, but your ioctl() call in your driver is getting a * to the structure, not the structure itself. Also remember to call copy_from_user() on the data before you start using it within the kernel. Hope this helps, greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/