On Fri, 12 May 2017 09:17:35 +0200, Geert Uytterhoeven wrote:
Hi Iwai-san,
On Fri, May 12, 2017 at 9:10 AM, Takashi Iwai tiwai@suse.de wrote:
On Fri, 12 May 2017 09:03:07 +0200, Geert Uytterhoeven wrote:
On Thu, May 11, 2017 at 10:21 PM, Takashi Iwai tiwai@suse.de wrote:
From: Takashi Iwai tiwai@suse.de Subject: [PATCH] sound: Disable the build of OSS drivers
OSS drivers are left as badly unmaintained, and now we're facing a problem to clean up the hackish set_fs() usage in their codes. Since most of drivers have been covered by ALSA, and the others are dead old and inactive, let's leave them RIP.
This patch is the first step: disable the build of OSS drivers. We'll eventually drop the whole codes and clean up later.
Signed-off-by: Takashi Iwai tiwai@suse.de
sound/Kconfig | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-)
diff --git a/sound/Kconfig b/sound/Kconfig index ee2e69a9ecd1..41eda578d08e 100644 --- a/sound/Kconfig +++ b/sound/Kconfig @@ -54,7 +54,8 @@ config SOUND_OSS_CORE_PRECLAIM
If unsure, say Y.
-source "sound/oss/dmasound/Kconfig" +### TO-BE-REMOVED +# source "sound/oss/dmasound/Kconfig"
Please note the dmasound drivers do not have ALSA equivalents.
These belong to the latter, "dead old and inactive" ones :)
Are these driver still used with the latest kernel? If users are
I believe so.
willing to help, we can provide the port to ALSA drivers, too.
That would be great, thanks!
OK, we can go forward, then.
But, looking at the tree again, I noticed that ALSA isn't built yet at all for m68k. I don't remember why it's disabled. Jaroslav, do you know the reason behind it?
And, dmasound is a completely different implementation from the other OSS, thus it doesn't suffer from set_fs() hack. That is, we may still keep dmasound, while removing other OSS stuff.
Meanwhile we'll try to support ALSA on m64k and eventually target to drop dmasound stuff.
Does it sound more feasible?
thanks,
Takashi