cleaning up the Kconfig menu structure -- the bigger picture

Dan Malek dan at
Sat Oct 9 03:22:06 EST 2004

On Oct 8, 2004, at 12:40 PM, Tom Rini wrote:

> Which is where every other serial driver is (that's been updated to use
> the new serial core and make life easier).

How does this make life easier?

> That's kinda the opposite direction of where I want things to move.

That doesn't make sense to those of us with experience using all
of the 8xx/82xx/85xx variants, other processors that may use the
same peripherals (like ColdFire), or with knowledge of yet to be
announce parts.

> What, IMHO, should happen is that once the real drivers side of 8xx_io
> are moved out into drivers/ we'll really be left with commproc and
> microcode, both of which can live in arch/ppc/syslib/ as cpm1_common.c

That's irrelevant to keeping the menu options in a central place.
Maybe it's because I'm old, but keeping the CPM configuration options
in one place on the screen seems to make it easier to think and choose
the proper options.  Remember, there is lots more to the CPM than just
serial ports or Ethernet drivers.  There are drivers floating around 
for some mysterious reason never seem to make it into the Linus tree
or out of development trees into other "official" place.

> ....... and we can deal with microcode
> questions in arch/ppc/Kconfig where we now source the 8xx_io/Kconfig
> file ....

There is never any harm in separating logical functions into separate
files.  Using this argument I guess you would like the whole kernel
to just be one big Linux.c file? :-)

>  (or, if it really does end up making sense to, and I'm not yet
> convinced of this, make platforms/8xx, we can put the question in
> platforms/8xx/Kconfig).

I don't know why we don't have the platforms/8xx directory.  We already
have 4xx and 85xx, there are certainly more 8xx boards and 
than anything else (if all of the 2.4 stuff was actually moved 
forward).  Both
of the 4xx and 85xx have special IO configuration options even though
they have drivers in the standard places.  Your desire of "where you 
8xx to move" is against what has been established for other processors,
and of course doesn't make sense to me.


	-- Dan

More information about the Linuxppc-embedded mailing list