Update of /cvsroot/alsa/alsa-driver/acore/seq
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21578/acore/seq

Modified Files:
        Makefile 
Added Files:
        seq.patch 
Removed Files:
        seq.c 
Log Message:
use the new module_param*() functions.
added wrapper functions for older kernels.









--- NEW FILE: seq.patch ---
--- ../../alsa-kernel/core/seq/seq.c    2004-04-07 19:33:26.442493152 +0200
+++ seq.c       2004-04-07 19:33:56.950606109 +0200
@@ -49,8 +49,12 @@
 MODULE_CLASSES("{sound}");
 MODULE_SUPPORTED_DEVICE("sound");
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
+MODULE_PARM(seq_client_load, "1-64i");
+#else
 static int boot_devs;
 module_param_array(seq_client_load, int, boot_devs, 0444);
+#endif
 MODULE_PARM_DESC(seq_client_load, "The numbers of global (system) clients to load 
through kmod.");
 module_param(seq_default_timer_class, int, 0444);
 MODULE_PARM_DESC(seq_default_timer_class, "The default timer class.");

Index: Makefile
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/acore/seq/Makefile,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- Makefile    5 Mar 2004 11:52:21 -0000       1.17
+++ Makefile    7 Apr 2004 17:53:38 -0000       1.18
@@ -5,7 +5,7 @@
 include $(SND_TOPDIR)/toplevel.config
 include $(SND_TOPDIR)/Makefile.conf
 
-clean-files := seq_clientmgr.c seq_memory.c
+clean-files := seq.c seq_clientmgr.c seq_memory.c
 
 export-objs  := seq_device.o seq.o seq_instr.o seq_midi_emul.o \
                seq_midi_event.o seq_virmidi.o
@@ -16,5 +16,6 @@
 
 include $(SND_TOPDIR)/Rules.make
 
+seq.c: seq.patch $(SND_TOPDIR)/alsa-kernel/core/seq/seq.c
 seq_clientmgr.c: seq_clientmgr.patch 
$(SND_TOPDIR)/alsa-kernel/core/seq/seq_clientmgr.c
 seq_memory.c: seq_memory.patch $(SND_TOPDIR)/alsa-kernel/core/seq/seq_memory.c

--- seq.c DELETED ---



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to