PATCH: PReP CS4232 sound module fix

Susumu OSAWA susumu-o at debian.or.jp
Mon May 10 15:47:39 EST 1999


Hi,

I have a IBM Power Series 830 and it has on-board CS4232 sound
controller. I tried to make kernel with CS4232 sound module support
but I couldn't install it because it had a unresolved symbols . So I
make a patch to fix this problem.

--
Susumu OSAWA <susumu-o at debian.or.jp>

Index: arch/ppc/kernel/ppc_ksyms.c
===================================================================
RCS file: /cvs/linux/linux/arch/ppc/kernel/ppc_ksyms.c,v
retrieving revision 1.52
diff -u -r1.52 ppc_ksyms.c
--- arch/ppc/kernel/ppc_ksyms.c	1999/04/09 00:04:42	1.52
+++ arch/ppc/kernel/ppc_ksyms.c	1999/05/09 17:51:56
@@ -48,6 +48,7 @@
 
 asmlinkage long long __ashrdi3(long long, int);
 asmlinkage int abs(int);
+EXPORT_SYMBOL(abs);
 
 EXPORT_SYMBOL(clear_page);
 EXPORT_SYMBOL(do_signal);
Index: drivers/sound/Config.in
===================================================================
RCS file: /cvs/linux/linux/drivers/sound/Config.in,v
retrieving revision 1.39
diff -u -r1.39 Config.in
--- drivers/sound/Config.in	1999/03/09 14:06:51	1.39
+++ drivers/sound/Config.in	1999/05/09 17:52:07
@@ -77,6 +77,10 @@
 if [ "$CONFIG_SOUND_OSS" = "y" -o "$CONFIG_SOUND_OSS" = "m" ]; then
   if [ "$CONFIG_SOUND_OSS" = "y" ]; then
     bool 'Persistent DMA buffers' CONFIG_SOUND_DMAP
+
+  fi
+  if [ "$CONFIG_SOUND_OSS" = "m" ]; then
+    define_bool CONFIG_SOUND_MODULE y
   fi
 
   dep_tristate 'ProAudioSpectrum 16 support' CONFIG_SOUND_PAS $CONFIG_SOUND_OSS
Index: include/asm-ppc/ide.h
===================================================================
RCS file: /cvs/linux/linux/include/asm-ppc/ide.h,v
retrieving revision 1.42
diff -u -r1.42 ide.h
--- include/asm-ppc/ide.h	1999/05/08 03:03:07	1.42
+++ include/asm-ppc/ide.h	1999/05/09 17:52:12
@@ -58,6 +58,9 @@
 
 extern struct ide_machdep_calls ppc_ide_md;
 
+extern unsigned long ISA_DMA_THRESHOLD;
+extern unsigned long DMA_MODE_READ, DMA_MODE_WRITE;
+
 void ide_init_hwif_ports(ide_ioreg_t *p, ide_ioreg_t base, int *irq);
 void ide_insw(ide_ioreg_t port, void *buf, int ns);
 void ide_outsw(ide_ioreg_t port, void *buf, int ns);




[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]





More information about the Linuxppc-dev mailing list