Re: ioctl
Frederic <[email protected]>
| Newsgroups | gmane.linux.drivers.ipw2100.devel |
|---|---|
| Message-ID | <[email protected]> |
well, I know that book. I have already read the chap. 6 which deals with io control. Nevertheless, my question remains! I don't understand exactly how it's implemented in the ipw2200 driver. Indeed, it's not the same! Regards, Fred. Henrik Brix Andersen wrote: > 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 > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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