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

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





Index: ymfpci.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ymfpci/ymfpci.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- ymfpci.c    7 Oct 2003 10:03:24 -0000       1.27
+++ ymfpci.c    14 Oct 2003 13:08:20 -0000      1.28
@@ -323,8 +323,8 @@
        (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 *)&fm_port[nr_dev]) == 2 &&
-              get_option(&str,(int *)&mpu_port[nr_dev]) == 2);
+              get_option_long(&str,&fm_port[nr_dev]) == 2 &&
+              get_option_long(&str,&mpu_port[nr_dev]) == 2);
        nr_dev++;
        return 1;
 }



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