Adding driver to the Makefiles, the 2nd

Hi again!

Thanks for the answer, but still I've got one question considering the 
makefiles.

"Edit "comedi/Config.in" and add a new "dep_tristate" line (look at the 
other examples). Invent a senseful name for the driver's variable. For 
example:
          dep_tristate 'MYDRIVER' CONFIG_COMEDI_MYDRIVER $CONFIG_COMEDI"

This is clear. However, I dont know what to do with:
"Add a line to "comedi/drivers/Makefile.in", using your freshly defined 
variable, i.e., CONFIG_COMEDI_MYDRIVER.".

Could you possibly give me a short example for a simple driver file. 
e.g. mydriver.c ?

With regards,
Roland

Received on 2006-09-11Z07:05:30