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

From: Alan Cox
Date: Wed Aug 05 2009 - 05:15:29 EST


On Wed, 05 Aug 2009 15:40:42 +0900
Tejun Heo <teheo@xxxxxxx> wrote:

> If any OSS support is enabled, regardless of built-in or module,
> sound_core claims full OSS major number (that is, the old 0-255
> region) to trap open attempts and request sound module automatically.
> This feature is redundant as chrdev already has such mechanism and no
> longer used by modern distros. This preemptive claiming prevents
> alternative OSS implementation.
>
> This patch makes the preclaiming optional and adds a config option
> SOUND_OSS_CORE_PRECLAIM and kernel parameter soundcore.preclaim_oss to
> control whether preclaim is enabled or not. This allows distros and
> developers to try new things without rebuilding kernel.

This looks like a random private devel hack sand I don't see why it's
appropriate for mainstream, especially as these "new things" don't exist
mainstream either.
--
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/