Changes between Version 4 and Version 5 of NewDriverClass


Ignore:
Timestamp:
Oct 8, 2009, 7:04:05 AM (15 years ago)
Author:
Nicolas Pouillon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewDriverClass

    v4 v5  
    77  * utility function prototypes (blocking request wrappers, …) ![1]
    88 * Add reference to the class in the driver structure
     9 * Add a configuration token for the class
    910 * Add a directory for the class
    1011 * Add a C-file with utility functions ![1]
     
    6465}}}
    6566
     67= Add a configuration token for the class =
     68
     69Edit [source:trunk/mutekh/drivers/device/drivers.config], add a configuration block for the class:
     70{{{
     71%config CONFIG_DRIVER_FOOBAR
     72flags nodefine
     73desc At least one foobar device driver must be enabled to have it defined
     74%config end
     75}}}
     76
     77The `flags nodefine` statement tells the build system an user may not directly define this token,
     78and implies this token is only allowed to be provided by another one.
     79
    6680= Create a directory for the class =
    6781