public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: ALSA patch for 2.5.2pre9 kernel
@ 2002-01-07 23:44 J.A. Magallon
  2002-01-08  2:01 ` [s-h] " Alan Cox
  0 siblings, 1 reply; 26+ messages in thread
From: J.A. Magallon @ 2002-01-07 23:44 UTC (permalink / raw)
  To: Alan Cox
  Cc: Linus Torvalds, Christoph Hellwig, Jaroslav Kysela, sound-hackers,
	linux-sound, linux-kernel


On 20020107 Alan Cox wrote:
>
>so by that logic we'd have
>
>	sound/soundcore.c
>	sound/alsa/alsalibcode
>	sound/oss/osscore
>
>	sound/drivers/cardfoo.c
>

Would't it be better to split drivers:

sound/core.c
sound/alsa/alsa-core.c
sound/alsa/drivers/alsa-emu10k.c
sound/oss/oss-core.c
sound/oss/drivers/oss-emu10k.c

low level card drivers are different, and this way oss and alsa are
independent subtrees.

BTW, 2.5.x was born to be broken, so this is the moment to reorganize
the beast (better before than after kbuild 2.5 ?)

By

-- 
J.A. Magallon                           #  Let the source be with you...        
mailto:jamagallon@able.es
Mandrake Linux release 8.2 (Cooker) for i586
Linux werewolf 2.4.18-pre1-beo #1 SMP Fri Jan 4 02:25:59 CET 2002 i686

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: [s-h] Re: ALSA patch for 2.5.2pre9 kernel
@ 2002-01-07 20:51 Steven Walter
  0 siblings, 0 replies; 26+ messages in thread
From: Steven Walter @ 2002-01-07 20:51 UTC (permalink / raw)
  To: linux-kernel

I think that if we do not keep all the ALSA stuff together under
linux/sound, I think we should at least refrain from cramming it in with
the OSS drivers in linux/drivers/sound.  Perhaps a linux/drivers/alsa
would be preferable?
-- 
-Steven
In a time of universal deceit, telling the truth is a revolutionary act.
			-- George Orwell
He's alive.  He's alive!  Oh, that fellow at RadioShack said I was mad!
Well, who's mad now?
			-- Montgomery C. Burns

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: [s-h] Re: ALSA patch for 2.5.2pre9 kernel
@ 2002-01-07 19:03 Dimitrie Paun
  0 siblings, 0 replies; 26+ messages in thread
From: Dimitrie Paun @ 2002-01-07 19:03 UTC (permalink / raw)
  To: 'Linus Torvalds', Abramo Bagnara
  Cc: Alan Cox, Christoph Hellwig, Jaroslav Kysela, sound-hackers,
	linux-sound, linux-kernel

> From: Linus Torvalds [mailto:torvalds@transmeta.com]
> 
> This is my current feeling.
> 
> However, la donna é mobile, and I'm a primus donna, fer 
> shure. So don't take it _too_ seriously, continue to argue 
> the merits of other approaches.

That's good to know. So let's do so:

There is no one grouping: things can be grouped in any number 
of ways, and for this very reason, a strictly hierarchical
grouping does not cut it. What I'm trying to say is that at
certain point, a given grouping characteristics becomes less 
important (say sound) and other (which crosscut other parts of
the source) increase in importance (say drivers).

For this reason, I think the current organization (net/core +
drivers/net) is more practical then the one which initially 
screams at any CompSci guy (net/core + net/drivers). 

Now, whichever one we choose, I'd _hate_ to see net organized
one way and sound the other way. It would be just ugly. That,
together with the fact that I don't think that putting everything
under sound/ is in any way superior to the current method,
I would suggest we stick to: sound/core + drivers/sound.

--
Dimi.

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: ALSA patch for 2.5.2pre9 kernel
  2002-01-07 18:00 Linus Torvalds
@ 2002-01-07 18:10 Arnaldo Carvalho de Melo
  2002-01-08  2:13 ` [s-h] " Alan Cox
  0 siblings, 1 reply; 26+ messages in thread
From: Arnaldo Carvalho de Melo @ 2002-01-07 18:10 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Alan Cox, Christoph Hellwig, Jaroslav Kysela, sound-hackers,
	linux-sound, linux-kernel

Em Mon, Jan 07, 2002 at 10:00:57AM -0800, Linus Torvalds escreveu:
> 
> 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).

One ring^Wlayout to rule them all <stops here ;)> I would not be unhappy if
drivers/net became net/drivers, etc 8)

- Arnaldo

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: ALSA patch for 2.5.2pre9 kernel
@ 2002-01-07 18:00 Linus Torvalds
  2002-01-07 18:19 ` [s-h] " Abramo Bagnara
  0 siblings, 1 reply; 26+ messages in thread
From: Linus Torvalds @ 2002-01-07 18:00 UTC (permalink / raw)
  To: Alan Cox
  Cc: Christoph Hellwig, Jaroslav Kysela, sound-hackers, linux-sound,
	linux-kernel


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).

		Linus


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2002-01-18 16:49 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20020108102833.A2927@werewolf.able.es>
2002-01-08  9:30 ` [s-h] Re: ALSA patch for 2.5.2pre9 kernel J.A. Magallon
2002-01-08  9:52   ` Abramo Bagnara
2002-01-08 10:12     ` Takashi Iwai
2002-01-08 10:18       ` Jaroslav Kysela
2002-01-08 10:34         ` Takashi Iwai
2002-01-08 10:36         ` Abramo Bagnara
2002-01-08 10:50           ` Jaroslav Kysela
2002-01-08 10:28       ` Abramo Bagnara
2002-01-08 10:41         ` Jaroslav Kysela
2002-01-07 23:44 J.A. Magallon
2002-01-08  2:01 ` [s-h] " Alan Cox
2002-01-08  5:12   ` Linus Torvalds
  -- strict thread matches above, loose matches on Subject: below --
2002-01-07 20:51 Steven Walter
2002-01-07 19:03 Dimitrie Paun
2002-01-07 18:10 Arnaldo Carvalho de Melo
2002-01-08  2:13 ` [s-h] " Alan Cox
2002-01-08 12:47   ` Arnaldo Carvalho de Melo
2002-01-07 18:00 Linus Torvalds
2002-01-07 18:19 ` [s-h] " Abramo Bagnara
2002-01-07 18:29   ` Linus Torvalds
2002-01-07 18:39     ` Abramo Bagnara
2002-01-07 18:47       ` Linus Torvalds
2002-01-07 19:09         ` Abramo Bagnara
2002-01-07 19:21         ` Pozsar Balazs
2002-01-07 20:29         ` Jauder Ho
2002-01-14  3:10         ` Pavel Machek
2002-01-07 21:25   ` Christoph Hellwig
2002-01-08  1:16     ` Timothy Covell
2002-01-08  2:53     ` Miles Lane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox