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

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





Index: mtpav.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/drivers/mtpav.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- mtpav.c     23 Apr 2003 10:01:27 -0000      1.25
+++ mtpav.c     14 Oct 2003 13:08:13 -0000      1.26
@@ -813,7 +813,7 @@
        (void)(get_option(&str,&enable) == 2 &&
               get_option(&str,&index) == 2 &&
               get_id(&str,&id) == 2 &&
-              get_option(&str,(int *)&port) == 2 &&
+              get_option_long(&str,&port) == 2 &&
               get_option(&str,&irq) == 2 &&
               get_option(&str,&hwports) == 2);
        return 1;

Index: serial-u16550.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/drivers/serial-u16550.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- serial-u16550.c     23 Apr 2003 10:01:27 -0000      1.21
+++ serial-u16550.c     14 Oct 2003 13:08:13 -0000      1.22
@@ -975,7 +975,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,&speed[nr_dev]) == 2 &&
               get_option(&str,&base[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