On Mon, Sep 20, 2004 at 07:19:24PM +0200, Michael Hunold wrote: > > + /* a ioctl like command that can be used to perform specific functions > + * with the adapter. > + */ > + int (*command)(struct i2c_adapter *adapter, unsigned int cmd, void *arg); Ick ick ick. We don't like ioctls for the very reason they aren't type safe, and you can pretty much stick anything in there you want. So let's not try to add the same type of interface to another subsystem. How about we add the exact explicit functionality that you want, one function per "type" of operation, like all other subsystems have. thanks, greg k-h