Adrian Bunk wrote:Module autoloading is quite different. if NET_ETHERNET ... config B44 tristate "Broadcom 440x/47xx ethernet support" depends on SSB_POSSIBLE select SSB select MII ... endif # NET_ETHERNET There is a B44 option. The prompt string (in other cases the help text) tells what it is for. Furthermore, four dependencies are encoded; one in the direct form, one by if/endif, two in reverse form. There are no further hints how to satisfy SSB_POSSIBLE, NET_ETHERNET, SSB, MII. The kconfig system is told to enable SSB and MII no matter what, as long as SSB_POSSIBLE, NET_ETHERNET, and B44 are != n. This /is/ what we are currently doing, not "worse than what we are currently doing". We - sensibly modularize our software, - tell the user which software components there are, - what they are for, - how they depend on each other, - make it easy enough for the user to navigate in the dependency graph, - provide fundamental safeguards and checks for a proper software configuration. (Well, we actually walk on thin ice whenever we use the 'select' keyword.) (Now, after the b44.ko has been built and installed, the object file should contain aliases which let modern userland automatically load this kernel object if respective hardware has been detected and the module wasn't blacklisted. So, run-time configuration is more comfortable than build-time configuration, except that help texts aren't as easily accessible at run-time as they are at build-time.) -- Stefan Richter -=====-==--- ---= --==- http://arcgraph.de/sr/ --
| Mark Lord | 2.6.25-rc8: FTP transfer errors |
| Kamalesh Babulal | Re: 2.6.23-rc6-mm1 |
| Greg Kroah-Hartman | [PATCH 025/196] paride: Convert from class_device to device for block/paride |
| Stephen Rothwell | Announce: Linux-next (Or Andrew's dream :-)) |
git: | |
| Linus Torvalds | Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49 |
| David Miller | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 18/37] dccp: Support for Mandatory options |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
