ioctl

Frederic <[email protected]>
Newsgroups gmane.linux.drivers.ipw2100.devel
Message-ID <[email protected]>
Hi guys!

I'm new in this mailing list and I would like to be involved in driver
development of ipw2200.

But first, I would like to dig into the driver. Therefore, I have a
question:
I would like to call a method from a user-space process. I guess I
should use ioctl. However, I'm a little bit stuck.

I have define two new methods: __le16 get_stats() and set_stats(__le16
s) and these two should be called from the user-space. Now my question:
how to add the correponding ioctl and how to call them and pass them
args from the user-space?

I thank you in advance!

Regards,

Fred.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.