lkml.org 
[lkml]   [2005]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectbest way to access device driver functions
Hi,

I have a number of functions that used to drive a device on an embedded
system. Now that we are moving to Linux, these functions are part of the
kernel space. My question is : what is the best way to access these
from user space ?
With a device driver, is it not a problem to implement about 15 commands through
ioctl in addition to the usual open, close, read write ? It seems a bit
awkward ...

Any advice on this will help a lot. Thanks in advance,

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

\
 
 \ /
  Last update: 2005-09-15 09:51    [W:0.054 / U:0.968 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site