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

From: Alan Cox
Date: Wed Aug 05 2009 - 12:33:21 EST


> I don't see how I would be able to achieve the latter with one liner.
> Can you please elaborate a little bit?

It depends how much of a hurry you are in, but for the mainstream we can
do this

1. Make soundcore also issue the request_module() as if the char
minor was unclaimed. Mark the old one as obsolete

2. Wait a year while people adjust their scripts to trigger on the
char event instead (and fix the ordering bits for ALSA if the soundcore
docs are still valid on that)

3. Apply a patch which makes ALSA use char dev allocation directly
for its OSS devices and dumps out soundcore, remove soundcore and switch
any other code using it.

--
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/