Patch: 2.1.82 Sound modules problem

Adam Heath (adam@brainiac.egr.msu.edu)
Wed, 28 Jan 1998 13:49:20 -0500 (EST)


uart401.c doesn't get compiled, and when modprobe sb is run, it complains
about unresolved symbols. This patch fixes it.

diff -ruN 2.1.82-pure/drivers/sound/Makefile 2.1.82/drivers/sound/Makefile
--- 2.1.82-pure/drivers/sound/Makefile Sun Jan 4 13:40:16 1998
+++ 2.1.82/drivers/sound/Makefile Wed Jan 28 13:14:42 1998
@@ -90,15 +90,15 @@
ifeq ($(CONFIG_SB),y)
L_OBJS += sb_audio.o sb_common.o sb_midi.o sb_mixer.o
LX_OBJS += sb_card.o
-CONFIG_UART401 = y
else
ifeq ($(CONFIG_SB),m)
M_OBJS += sb.o
MIX_OBJS += sb_card.o
- ifneq ($(CONFIG_UART401),y)
- CONFIG_UART401 = m
- endif
endif
+endif
+
+ifneq ($(CONFIG_SB),n)
+ CONFIG_UART401 = $(CONFIG_SB)
endif

ifeq ($(CONFIG_MSS),y)