Re: [PATCH 2/2] sound: make OSS device number claiming optional

From: Alan Cox
Date: Wed Aug 05 2009 - 09:11:26 EST


> If we're gonna do that, we might as well just rip off the pointless
> 'claim everything so we can use our own module alises' code from
> sound_core.c and be done with it. That really is the only problem.

The interface expected is the sound_register_* interface and the sharing
is likewise expected so you could for example mix OSS. CUSE and ALSA oss
emulation drivers on the same system at the same time.

Rewriting sound_register* in terms of minor number allocations using the
fact modern kernels have better allocators for devices would also be
preferable to the weird module hacks initially proposed. I guess a
starting point would be to tweak soundcore to generate both message sets
itself for a year and then pull the old stuff out.

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