Re: CML2 design philosophy heads-up

Helge Hafting (helgehaf@idb.hist.no)
Tue, 08 May 2001 14:42:56 +0200


Alan Cox wrote:

> > But Alan's point is a good one. There are _lots_ of cases you can't get away
> > with things like this, unless you get very fine grained. In fact, it would
> > be much eaiser to do this seperately from the kernel. Ie another,
>
> There are also a lot of config options that are implied by your setup in
> an embedded enviromment but which you dont actually want because you didnt
> wire them
>
> Second guessing is not ideal. As a 'make the default config nice' trick - great

This is easy without changing CML2. Make another config option
for auto-enabling hardware you "probably have"

Rules of the form "X86 and PARPORT implies PARPORT_PC" can then
be transformed to "X86 and PARPORT and PROBABLE_HARDWARE implies
PARPORT_PC"

Those who want a nice & easy config may then turn PROBABLE_HARDWARE on.
Those who want tricks like using only nonstandard (hi-performance?)
serial
ports on their pc and save memory on skipping drivers for the built-in
stuff can do so by turning the probable setting off.

Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/