Re: ioctl
Henrik Brix Andersen <[email protected]>
| Newsgroups | gmane.linux.drivers.ipw2100.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Oct 01, 2006 at 04:19:11PM +0200, Frederic wrote: > I'm new in this mailing list and I would like to be involved in driver > development of ipw2200. Cool - welcome aboard :) > 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? May I recommend the (free of charge) book "Linux Device Drivers, 3rd edition"? It's available from http://lwn.net/Kernel/LDD3/ and in your local bookstore (non-free, though). Regards, Brix -- Henrik Brix Andersen <[email protected]> ------------------------------------------------------------------------- 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 _______________________________________________ ipw2100-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ipw2100-devel
signature.asc
(application/pgp-signature, 209 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: GnuPG signed iD8DBQFFH9BTv+Q4flTiePgRAnAnAKCTVGN7+JbSar7wD4pIKc0lMNTRIgCgik6y +rUQeAcCmbtpUTmO31aeMuc= =b67k -----END PGP SIGNATURE-----