lkml.org 
[lkml]   [1998]   [Jan]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSat, 3 Jan 1998 14:40:48 +0000 (GMT)
FromJon Evans <>
Subjectsb module in 2.1.77
Hi,

To get my SB64 working in 2.1.77 I had to do this:

1) from a suggestion in a message by Kevin Lentin
   <kevinl@cs.monash.edu.au> Remark out the following lines from
   drivers/sound/Defines:

   ifdef CONFIG_SB
   ifneq ($(CONFIG_UART401),Y)
   CONFIG_UART401=y
   endif
   endif

   (i.e. precede them all with a '#')

2) change sb_audio.c like this:

--- sb_audio.c.orig	Sat Jan  3 14:15:24 1998
+++ sb_audio.c	Sat Jan  3 14:19:02 1998
@@ -982,7 +982,7 @@
 	sb_audio_close,
 	sb_set_output_parms,
 	sb_set_input_parms,
-	sb_audio_ioctl,
+	NULL, /* ioctl */
 	sb1_audio_prepare_for_input,
 	sb1_audio_prepare_for_output,
 	sb1_audio_halt_xfer,
@@ -1002,7 +1002,7 @@
 	sb_audio_close,
 	sb_set_output_parms,
 	sb_set_input_parms,
-	sb_audio_ioctl,
+	NULL, /* ioctl */
 	sb1_audio_prepare_for_input,
 	sb1_audio_prepare_for_output,
 	sb1_audio_halt_xfer,
@@ -1022,7 +1022,7 @@
 	sb_audio_close,
 	sb_set_output_parms,
 	sb_set_input_parms,
-	sb_audio_ioctl,
+	NULL, /* ioctl */
 	sbpro_audio_prepare_for_input,
 	sbpro_audio_prepare_for_output,
 	sb1_audio_halt_xfer,
@@ -1042,7 +1042,7 @@
 	sb_audio_close,
 	sb_set_output_parms,
 	sb_set_input_parms,
-	sb_audio_ioctl,
+	NULL, /* ioctl */
 	sbpro_audio_prepare_for_input,
 	sbpro_audio_prepare_for_output,
 	sb1_audio_halt_xfer,
@@ -1062,7 +1062,7 @@
 	sb_audio_close,
 	sb_set_output_parms,
 	sb_set_input_parms,
-	sb_audio_ioctl,
+	NULL, /* ioctl */
 	sb16_audio_prepare_for_input,
 	sb16_audio_prepare_for_output,
 	sb1_audio_halt_xfer,
@@ -1082,7 +1082,7 @@
 	sb_audio_close,
 	sb_set_output_parms,
 	sb_set_input_parms,
-	sb_audio_ioctl,
+	NULL, /* ioctl */
 	ess_audio_prepare_for_input,
 	ess_audio_prepare_for_output,
 	sb1_audio_halt_xfer,

It now compiles and seems to work OK.

-- 
Jon Evans <jon@evansoft.demon.co.uk>


\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008