Changes between Version 4 and Version 5 of I2CTools_4_Plan
- Timestamp:
- 04/23/12 18:59:59 (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
I2CTools_4_Plan
v4 v5 18 18 === Step 1: Cleaning up {{{i2c-dev.h}}} === 19 19 20 We need to get rid of the {{{i2c-dev.h}}} file in i2c-tools, and before we can do that, this copy should be aligned with the one in the kernel. This means that anything extra must be moved somewhere else. Then all applications must be adjusted to include the right header files. Later, we can just remove {{{i2c-dev.h}}} file in i2c-tools and the kernel version of the file will be usedinstead.20 We need to get rid of the {{{i2c-dev.h}}} file in i2c-tools, and before we can do that, this copy should be aligned with the one in the kernel. This means that anything extra must be moved somewhere else. Then all applications must be adjusted to include the right header files. Later, we can just remove the {{{i2c-dev.h}}} file from i2c-tools and use the kernel version of the file instead. 21 21 22 Status: [http://marc.info/?l=linux-i2c&m=133182689203486&w=2 Patches sent to the linux-i2c list] for review and comments ([http://marc.info/?l=linux-i2c&m=133182725003646&w=2 1/2], [http://marc.info/?l=linux-i2c&m=133182730503676&w=2 2/2].)22 Status: Patches sent to the linux-i2c list for review and comments ([http://marc.info/?l=linux-i2c&m=133519961628546&w=2 1/2], [http://marc.info/?l=linux-i2c&m=133519972628594&w=2 2/2].) Ready to be committed. 23 23 24 24 Discussion: Do we create a header file that includes all other often-needed header files, to make the migration easier? … … 28 28 All the {{{i2c_smbus_*}}} inline functions should be moved to a proper shared library. 29 29 30 Status: Name decided ([http://marc.info/?l=linux-i2c&m=133356140412722&w=2 libi2c]). No code yet. 30 Status: Name decided ([http://marc.info/?l=linux-i2c&m=133356140412722&w=2 libi2c]). Patch sent to the linux-i2c list for review and comments ([http://marc.info/?l=linux-i2c&m=133519997728714&w=2 1/1].) 31 32 Discussion: What license do we use? GPLv2+ as the kernel itself, or LGPLv2.1+ which would seem more appropriate for a library? 31 33 32 34 === Step 3: Extending the library === … … 34 36 More functions may be added to the library, for example the ones currently in {{{tools/i2cbusses.c}}}. 35 37 36 Status: Not started.38 Status: Code moved from {{{tools/i2cbusses.c}}} to {{{lib/busses.c}}}, functions renamed to meet a reasonable naming convention. Needs self-review.
