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

Modified Files:
        es968.c sb16.c sb8.c 
Log Message:
- fixed the boot parameters with long ints for non-intel architectures.
- added get_option_long() for parsing the parameter.





Index: es968.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/sb/es968.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- es968.c     12 Aug 2003 14:10:12 -0000      1.19
+++ es968.c     14 Oct 2003 13:08:18 -0000      1.20
@@ -257,7 +257,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,&dma8[nr_dev]) == 2);
        nr_dev++;

Index: sb16.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/sb/sb16.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- sb16.c      12 Aug 2003 14:10:12 -0000      1.37
+++ sb16.c      14 Oct 2003 13:08:18 -0000      1.38
@@ -696,9 +696,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(&str,(int *)&mpu_port[nr_dev]) == 2 &&
-              get_option(&str,(int *)&fm_port[nr_dev]) == 2 &&
+              get_option_long(&str,&port[nr_dev]) == 2 &&
+              get_option_long(&str,&mpu_port[nr_dev]) == 2 &&
+              get_option_long(&str,&fm_port[nr_dev]) == 2 &&
               get_option(&str,&irq[nr_dev]) == 2 &&
               get_option(&str,&dma8[nr_dev]) == 2 &&
               get_option(&str,&dma16[nr_dev]) == 2 &&
@@ -709,7 +709,7 @@
 #endif
 #ifdef SNDRV_SBAWE_EMU8000
               &&
-              get_option(&str,(int *)&awe_port[nr_dev]) == 2 &&
+              get_option_long(&str,&awe_port[nr_dev]) == 2 &&
               get_option(&str,&seq_ports[nr_dev]) == 2
 #endif
               );

Index: sb8.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/sb/sb8.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- sb8.c       23 Apr 2003 10:01:41 -0000      1.16
+++ sb8.c       14 Oct 2003 13:08:18 -0000      1.17
@@ -242,7 +242,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,&dma8[nr_dev]) == 2);
        nr_dev++;



-------------------------------------------------------
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