Re: mmap

On Fri, May 23, 2003 at 01:35:15PM +0100, Bernd Porr wrote:
> Hi Anne,
> 
> looks good. The function is not very well documented and that it is 
> supplied as option[0] and option[1] prevents passing other parameters. 

Actually, it is COMEDI_DEVCONF_AUX_DATA and
COMEDI_DEVCONF_AUX_DATA_LENGTH.

> There was a problem with the type of the option array. Maybe it's a 
> good idea to pass the firmware with the help of a "real" pointer and
> a size field. Just now there's only one driver in the comedi framwork 
> which needs firmware (except the one I'm just writing) and therefore 
> it might be the last moment to fix this. What does the community think 
> about this?

It's only a problem with 64-bit machines, and can be worked around
when the need arises.



dave...

Received on 2003-05-23Z18:26:46