LINUX_VERSION_CODE >= 2.3.46 and LINUX_VERSION_CODE <= 2.6.17 or if DEVFS_SUPPORT is defined, define to 0 otherwise. (devfs_handle): Only use if HAVE_DEVFS. (init_module): Only use devfs_mk_cdev or devfs_register if HAVE_DEVFS. (cleanup_module): Only use devfs_remove or devfs_unregister if HAVE_DEVFS.
Build instructions ------------------ The new build system supports Linux kernel legacy build systems as used on 2.4.x or earlier and the new kbuild system used on 2.6 and up. Current make targets are: modules clean install If your kernel source is in some place different than /usr/src/linux specify the KSRC variable, like: $ make KSRC=~/src/linux If you want to install in a different base dir specify DESTDIR.