Re: MAD16 Sound in 2.1.72

Shaw Carruthers (shaw@shawc.demon.co.uk)
Thu, 11 Dec 1997 13:52:50 +0000 (GMT)


On Thu, 11 Dec 1997, Alan Cox wrote:

>
> Im slowly working down the sound list with a lot of input from folks on
> linux-kernel (for which I am btw extremely greatful even If I dont reply
> to everything). Next stop the firmware stuff
>

Here are the patches against 2.1.72 I used to get mad16 working

--- dist.linux/drivers/sound/Makefile Wed Dec 10 13:47:23 1997
+++ linux/drivers/sound/Makefile Wed Dec 10 15:28:49 1997
@@ -181,8 +181,9 @@
L_OBJS += mad16.o
else
ifeq ($(CONFIG_MAD16),m)
- M_OBJS += mad16.o
- endif
+ M_OBJS += mad16.o sb.o uart401.o
+ MX_OBJS += sb_card.o ad1848.o
+endif
endif

ifeq ($(CONFIG_CS4232),y)
--- dist.linux/scripts/Menuconfig Wed Dec 10 13:47:25 1997
+++ linux/scripts/Menuconfig Thu Dec 11 13:08:52 1997
@@ -445,7 +445,7 @@

# Semantics of + and ? in GNU expr changed, so
# we avoid them:
- if expr "$answer" : '0$\|\(-[1-9]\|[1-9]\)[0-9]*$' >/dev/null
+ if expr "$answer" : '0$\|-[1-9]\|[0-9][0-9]*$' >/dev/null
then
eval $2="$answer"
else
@@ -1213,7 +1213,7 @@
Press <?> for additional information about this option."

inputbox_instructions_int="\
-Please enter a decimal value between 1 and 9999. \
+Please enter a decimal value between 0 and 9999. \
Fractions will not be accepted. \
Use the <TAB> key to move from the input field to the buttons below it."

--
Shaw Carruthers - shaw@shawc.demon.co.uk
London SW14 7JW UK
This is not a sig( with homage to Magritte).