|/* eventually we have to downgrade the driver */ |#if 0 |# include |# include |#endif /*0*/ | |#include /* for MOD_INC_USE_COUNT, automatic */ | /* module or kernel compilation */ |#if 0 |# include |# include |# include |# include |# include /* for verify_area */ |# include |# include /* for -EBUSY */ |# include /* for check_region, request_region */ |# include /* for loops_per_sec */ |# include /* for put_user_byte */ |# include /* for inb_p, outb_p, inb, outb, etc. */ |#endif /*0*/ | |#include /* for get_user, copy_from_user, etc. */ | |#if 0 |# include /* for wait_queue */ |# include /* for POLLING, etc. */ |# include /* for miscdevice */ |#endif /*0*/ | |#include /* for procfs functions */ |#include /* for devfs functions */ |#include /* for new pci functions */ | |#if 0 |# include |# include |# include |#endif /*0*/ | |#if (LINUX_VERSION_CODE >= 131343) |# include /* for __init, module_{init,exit}; */ | /* automatic freeing of kernel code after */ | /* booting/loading */ |#else |# define __init |# define __initdata |#endif I won't tell you about the difference, but you can surely do that for me. :-> *** Well that is the C++ I'm used to seeing too :-). Vinzent. -- "To err is human. To really screw up, you need C++!" St�phane Richard "Ada World" Webmaster http://www.adaworld.com