Subject: Re: sending a struct of size more than 0x1fff to ioctl()
To: None <esha@sharada.ncore.soft.net>
From: Christoph Badura <bad@ora.de>
List: tech-kern
Date: 12/11/1998 16:05:51
esha@sharada.ncore.soft.net (Eshanye) writes:

>I'm using syscall ioctl() to download parameters to EPLD. So as a ' in'
>parameter i'm sending a structure which contains the EPLD file along
>with some other information. The size of the structure is 65560
>(0x10018). But  the cmd of  ioctl() has only at most 13 bits to encode
>the size of the parameter. So i'm not able to send the structure without
>which my card wont work at all. How do you solve this problem ?

You could pass the address of the data area in the ioctl() arg and
do the copying explicitly.

-- 
Christoph Badura
Verlag O'Reilly