Re: best way to access device driver functions

From: Ivan Korzakow
Date: Thu Sep 15 2005 - 07:18:58 EST


>
> Adding ioctl in driver is not a good idea especially for 2.6.x series
> kernel, rather use sysfs which is in kernel 2.6.x to support
> user/kernel interaction too with other usage .....
>


Thanks for your answer. I started looking in sysfs and driver model.

Could you explain me why ioctl should be avoided ? Is it going to be
deprecated in future kernel ?

Regards,

Ivan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/