berkus / kbus

Automatically exported from code.google.com/p/kbus
Other
1 stars 0 forks source link

Kernel module should use file system for setting/querying global values #35

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The current version of the kernel module uses IOCTLs for all set/query 
purposes.

For "global" values (those which apply to all of the devices open), it 
really should be using a filesystem interface (/proc, /sys. /debugfs or 
whatever seems current best practice) instead.

It is arguable that some of the per-device settings should also be mediate 
in this manner.

Original issue reported on code.google.com by t...@tibsnjoan.co.uk on 7 May 2010 at 9:06