Changes between Version 4 and Version 5 of NewDriverClass
- Timestamp:
- Oct 8, 2009, 7:04:05 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NewDriverClass
v4 v5 7 7 * utility function prototypes (blocking request wrappers, …) ![1] 8 8 * Add reference to the class in the driver structure 9 * Add a configuration token for the class 9 10 * Add a directory for the class 10 11 * Add a C-file with utility functions ![1] … … 64 65 }}} 65 66 67 = Add a configuration token for the class = 68 69 Edit [source:trunk/mutekh/drivers/device/drivers.config], add a configuration block for the class: 70 {{{ 71 %config CONFIG_DRIVER_FOOBAR 72 flags nodefine 73 desc At least one foobar device driver must be enabled to have it defined 74 %config end 75 }}} 76 77 The `flags nodefine` statement tells the build system an user may not directly define this token, 78 and implies this token is only allowed to be provided by another one. 79 66 80 = Create a directory for the class = 67 81