RFC: modules and 2.5
Quoted 7 lines
A couple things that would be nice for 2.5 is
- letMOD_INC_USE_COUNTwork even when module is built into kernel, and
- letTHIS_MODULEexist and be valid even when module is built into kernel
Quoted 7 lines
This introduces bloat into the static kernel for modules which do not take advantage of this, so perhaps we can make this new behavior conditional on
CONFIG_xxxoption. Individual drivers which make use of the behavior can do something likedep_tristate 'my driver' CONFIG_MYDRIVER $CONFIG_PCI if [ "$CONFIG_MYDRIVER" != "n" -a \
^^^^^^^^^^^^^^^^^^^^^^^
Quoted 3 lines
"$CONFIG_STATIC_MODULES" != "y" ]; then define_bool CONFIG_STATIC_MODULES y fi
Hmmm, shouldn't it be written in CML2 if it is for 2.5 ?
For 2.4 the marked condition ( != n on a variable defined by dep_*) probably would break xconfig. Don't suggest such solutions...
Andrzej
Signature · 4 lines
======================================================================= Andrzej M. Krzysztofowicz [email protected] tel. (0-58) 347 14 61 Wydz.Fizyki Technicznej i Matematyki Stosowanej Politechniki Gdanskiej
Quoted 12 lines · Andrzej Krzysztofowicz
Quoted 12 lines
A couple things that would be nice for 2.5 is
- letMOD_INC_USE_COUNTwork even when module is built into kernel, and
- letTHIS_MODULEexist and be valid even when module is built into kernelThis introduces bloat into the static kernel for modules which do not take advantage of this, so perhaps we can make this new behavior conditional on
CONFIG_xxxoption. Individual drivers which make use of the behavior can do something like
Quoted 8 lines
Quoted 2 lines
dep_tristate'my driver'CONFIG_MYDRIVER$CONFIG_PCI if [ "$CONFIG_MYDRIVER" != "n" -a \^^^^^^^^^^^^^^^^^^^^^^^Quoted 3 lines
"$CONFIG_STATIC_MODULES" != "y" ]; then
define_boolCONFIG_STATIC_MODULESy
fiHmmm, shouldn't it be written in CML2 if it is for 2.5 ?
no comment
Quoted 2 lines
For 2.4 the marked condition ( != n on a variable defined by dep_*) probably would break xconfig. Don't suggest such solutions...
why is != n on a variable defined by dep_xx bad?
That doesn't make sense.
Jeff
Signature · 3 lines
Jeff Garzik | "I respect faith, but doubt is Building 1024 | what gives you an education." MandrakeSoft | -- Wilson Mizner