lkml.org 
[lkml]   [2001]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: CML2 design philosophy heads-up
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.136 / U:2.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site