Hello guys,
The attached patch is already in CVS, but since I can only test
lirc_i2c and lirc_serial on an UP box, I can not guaranty that I didn't
break anything else.
Again, any suggestions in how to make lirc's kernel code more
maintainable will be greatly appreciated.
About the patch:
- Removes support for 2.0 kernels
- Removes support for 2.2.17 and older kernels, 2.2.18 and above have
some usefull 2.4 compatibility built in already.
- Started a kcompat.h header file, to hold backwards compatibility
code.
- All this makes the code much more readable.
To make easier testing to non-developers you can get a patch agains
0.6.6 including this and my previos 'pluginization' patche at:
http://ranty.ddts.net/~ranty/lirc-non-developers/lirc-module-pluginization+kcompat-cleanup-0.6.6.diff.gz
PS: If you are the author of any of the affected drivers and don't like
what I am doing, please complain, if you don't I will understand that
you like the changes and will keep working on it.
PS2: Well, it took more than a few minutes, but here it is at last.
have a nice day everyone
ranty
--
--- Manuel Estrada Sainz <ranty@...>
<ranty@...>
<ranty@...>
------------------------ <manuel.estrada@...> -------------------
Let us have the serenity to accept the things we cannot change, courage to
change the things we can, and wisdom to know the difference.
|