Don't load your drivers up with 2.2.x compatibility junk. Write a 2.4.x driver... and use this toolkit to make it work under 2.2. kcompat24 1.0.0 is now available for download at http://prdownloads.sourceforge.net/gkernel/kcompat24-1.0.0.tar.gz?download README attached.