Re: [s-h] Re: ALSA patch for 2.5.2pre9 kernel

Abramo Bagnara
2002-01-07T18:20:48Z

Linus Torvalds wrote:
>
> On Mon, 7 Jan 2002, Alan Cox wrote:
> > > Or we could just have a really _deep_ hierarchy, and put everything under
> > > "linux/drivers/sound/..", but I'd rather break cleanly with the old.
> >
> > Christoph has an interesting point. Networking is
> >
> > net/[protocol]/
> > drivers/net/[driver]
> >
> > so by that logic we'd have
> >
> > sound/soundcore.c
> > sound/alsa/alsalibcode
> > sound/oss/osscore
> >
> > sound/drivers/cardfoo.c
> >
> > which would also be much cleaner since the supporting crap would be seperate
> > from the card drivers
>
> I would certainly not oppose that. Look sane to me, although the question
> then ends up being about "drivers/sound" or "sound/drivers" (the latter
> has the advantage that it keeps sound together, the former is more
> analogous to the "net" situation).

IMO the latter makes much more sense (also for "net" case), but I doubt
you're willing to change current schema.

If you want to keep top level cleaner and avoid proliferation of entries
we might have:

subsys/sound
subsys/sound/drivers
subsys/net
subsys/net/drivers

and so on.

Clean and without ambiguities about stuff location. Unfortunately it's a
*big* change.

--
Abramo Bagnara mailto:abramo@alsa-project.org

Opera Unica Phone: +39.546.656023
Via Emilia Interna, 140
48014 Castel Bolognese (RA) - Italy

ALSA project http://www.alsa-project.org
It sounds good!