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

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





Index: opti92x-ad1848.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/opti9xx/opti92x-ad1848.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- opti92x-ad1848.c    23 May 2003 11:15:13 -0000      1.32
+++ opti92x-ad1848.c    14 Oct 2003 13:08:18 -0000      1.33
@@ -2240,9 +2240,9 @@
               get_option(&str,&index) == 2 &&
               get_id(&str,&id) == 2 &&
               get_option(&str,&pnp) == 2 &&
-              get_option(&str,(int *)&port) == 2 &&
-              get_option(&str,(int *)&mpu_port) == 2 &&
-              get_option(&str,(int *)&fm_port) == 2 &&
+              get_option_long(&str,&port) == 2 &&
+              get_option_long(&str,&mpu_port) == 2 &&
+              get_option_long(&str,&fm_port) == 2 &&
               get_option(&str,&irq) == 2 &&
               get_option(&str,&mpu_irq) == 2 &&
               get_option(&str,&dma1) == 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