Update of /cvsroot/alsa/alsa-kernel/isa/wavefront
In directory sc8-pr-cvs1:/tmp/cvs-serv32368/isa/wavefront
Modified Files:
wavefront.c
Log Message:
- fixed the boot parameters with long ints for non-intel architectures.
- added get_option_long() for parsing the parameter.
Index: wavefront.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/wavefront/wavefront.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- wavefront.c 12 Aug 2003 14:10:12 -0000 1.24
+++ wavefront.c 14 Oct 2003 13:08:18 -0000 1.25
@@ -756,13 +756,13 @@
get_option(&str,&index[nr_dev]) == 2 &&
get_id(&str,&id[nr_dev]) == 2 &&
get_option(&str,&isapnp[nr_dev]) == 2 &&
- get_option(&str,(int *)&cs4232_pcm_port[nr_dev]) == 2 &&
+ get_option_long(&str,&cs4232_pcm_port[nr_dev]) == 2 &&
get_option(&str,&cs4232_pcm_irq[nr_dev]) == 2 &&
- get_option(&str,(int *)&cs4232_mpu_port[nr_dev]) == 2 &&
+ get_option_long(&str,&cs4232_mpu_port[nr_dev]) == 2 &&
get_option(&str,&cs4232_mpu_irq[nr_dev]) == 2 &&
- get_option(&str,(int *)&ics2115_port[nr_dev]) == 2 &&
+ get_option_long(&str,&ics2115_port[nr_dev]) == 2 &&
get_option(&str,&ics2115_irq[nr_dev]) == 2 &&
- get_option(&str,(int *)&fm_port[nr_dev]) == 2 &&
+ get_option_long(&str,&fm_port[nr_dev]) == 2 &&
get_option(&str,&dma1[nr_dev]) == 2 &&
get_option(&str,&dma2[nr_dev]) == 2 &&
get_option(&str,&use_cs4232_midi[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