- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Wed, 07 Jun 2006 17:57:16 +0100
On 07/06/06 15:22, Ian Abbott wrote: > On 06/06/06 15:29, Torben Mikael Hansen wrote: >> Before applying this patch, Ian Abbott's patch id=155 (see bug #221) should be >> applied. > > Thanks for the info in the patch. I'm testing a new moduleparam.h > compatibility header for the MODULE_PARM => module_param and > module_param_array stuff and will have a look at the PCMCIA-specific > parts of your patch later. I was trying to be clever by partially implementing module_param_array(name,type,nump,perm) for 2.4 kernels (ignoring the third 'nump' parameter), but it didn't work, and seems to be impossible with preprocessor tricks (unless anyone can work out how to get the length of an array variable as a string literal in the preprocessor!). Still need _some_ compatibility stuff for module_param_array though, as it's changed over the course of the 2.6 kernels - the third parameter used to be an lvalue, but now it's a pointer. -- -=( Ian Abbott _at_ MEV Ltd. E-mail: <abbotti_at_mev.co.uk> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
Received on 2006-06-07Z15:57:16