Update of /cvsroot/alsa/alsa-kernel/isa/gus
In directory sc8-pr-cvs1:/tmp/cvs-serv32368/isa/gus

Modified Files:
        gusclassic.c gusextreme.c gusmax.c interwave.c 
Log Message:
- fixed the boot parameters with long ints for non-intel architectures.
- added get_option_long() for parsing the parameter.





Index: gusclassic.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/gus/gusclassic.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- gusclassic.c        14 Aug 2003 11:05:38 -0000      1.11
+++ gusclassic.c        14 Oct 2003 13:08:16 -0000      1.12
@@ -284,7 +284,7 @@
        (void)(get_option(&str,&enable[nr_dev]) == 2 &&
               get_option(&str,&index[nr_dev]) == 2 &&
               get_id(&str,&id[nr_dev]) == 2 &&
-              get_option(&str,(int *)&port[nr_dev]) == 2 &&
+              get_option_long(&str,&port[nr_dev]) == 2 &&
               get_option(&str,&irq[nr_dev]) == 2 &&
               get_option(&str,&dma1[nr_dev]) == 2 &&
               get_option(&str,&dma2[nr_dev]) == 2 &&

Index: gusextreme.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/gus/gusextreme.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- gusextreme.c        14 Aug 2003 11:05:38 -0000      1.11
+++ gusextreme.c        14 Oct 2003 13:08:17 -0000      1.12
@@ -417,9 +417,9 @@
        (void)(get_option(&str,&enable[nr_dev]) == 2 &&
               get_option(&str,&index[nr_dev]) == 2 &&
               get_id(&str,&id[nr_dev]) == 2 &&
-              get_option(&str,(int *)&port[nr_dev]) == 2 &&
-              get_option(&str,(int *)&gf1_port[nr_dev]) == 2 &&
-              get_option(&str,(int *)&mpu_port[nr_dev]) == 2 &&
+              get_option_long(&str,&port[nr_dev]) == 2 &&
+              get_option_long(&str,&gf1_port[nr_dev]) == 2 &&
+              get_option_long(&str,&mpu_port[nr_dev]) == 2 &&
               get_option(&str,&irq[nr_dev]) == 2 &&
               get_option(&str,&gf1_irq[nr_dev]) == 2 &&
               get_option(&str,&mpu_irq[nr_dev]) == 2 &&

Index: gusmax.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/gus/gusmax.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- gusmax.c    14 Aug 2003 11:05:38 -0000      1.12
+++ gusmax.c    14 Oct 2003 13:08:18 -0000      1.13
@@ -424,7 +424,7 @@
        (void)(get_option(&str,&enable[nr_dev]) == 2 &&
               get_option(&str,&index[nr_dev]) == 2 &&
               get_id(&str,&id[nr_dev]) == 2 &&
-              get_option(&str,(int *)&port[nr_dev]) == 2 &&
+              get_option_long(&str,&port[nr_dev]) == 2 &&
               get_option(&str,&irq[nr_dev]) == 2 &&
               get_option(&str,&dma1[nr_dev]) == 2 &&
               get_option(&str,&dma2[nr_dev]) == 2 &&

Index: interwave.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/gus/interwave.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- interwave.c 12 Aug 2003 14:10:11 -0000      1.25
+++ interwave.c 14 Oct 2003 13:08:18 -0000      1.26
@@ -994,9 +994,9 @@
               get_option(&str,&index[nr_dev]) == 2 &&
               get_id(&str,&id[nr_dev]) == 2 &&
               get_option(&str,&pnp) == 2 &&
-              get_option(&str,(int *)&port[nr_dev]) == 2 &&
+              get_option_long(&str,&port[nr_dev]) == 2 &&
 #ifdef SNDRV_STB
-              get_option(&str,(int *)&port_tc[nr_dev]) == 2 &&
+              get_option_long(&str,&port_tc[nr_dev]) == 2 &&
 #endif
               get_option(&str,&irq[nr_dev]) == 2 &&
               get_option(&str,&dma1[nr_dev]) == 2 &&



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to