Re: How can i communicate with a module?

Aaron Ucko (UCKO@vax1.rockhurst.edu)
Fri, 02 Aug 1996 12:08:09 -0600 (CST)


>I need to communicate with a module in order to change some parameters
>in it (debugging level, crypting keys). What is the best way to do that?
>Can anybody give me some pointers/guidelines?

If the module doesn't already have a (character or block) special file,
give it one and have the module handle an appropriate (invented) set of
ioctls. Please read <kernel root>/Documentation/ioctl-number.txt for
information on giving your module new ioctls.

-- 
Aaron Ucko (ucko@vax1.rockhurst.edu; finger for PGP public key) | Geek Code
3.1 [for explanation, finger hayden@mankato.msus.edu]: GCS/M/S/C d- s+: a18
C++(+++)>++++ UL++>+++ P++(+++) L+++(++++)>+++++ E- W+(-) N++(+) o+ K- w---
O M-@ V-(--) PS++(+++) PE- Y+ PGP(+) t(+) !5 X-- R(-) tv-@ b++(+++) DI+ D--
G++(+++) e>+++++(*) h!>+ r-(--)>+++ y? | "That's right," he said. "We're
philosophers.  We think, therefore we am." -- Terry Pratchett, _Small Gods_