-
-#ifndef MODULE
-
-/* format is: snd-wavefront=enable,index,id,isapnp,
- cs4232_pcm_port,cs4232_pcm_irq,
- cs4232_mpu_port,cs4232_mpu_irq,
- ics2115_port,ics2115_irq,
- fm_port,
- dma1,dma2,
- use_cs4232_midi */
-
-static int __init alsa_card_wavefront_setup(char *str)
-{
- static unsigned __initdata nr_dev = 0;
-
- if (nr_dev >= SNDRV_CARDS)
- return 0;
- (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,&isapnp[nr_dev]) == 2 &&
- get_option_long(&str,&cs4232_pcm_port[nr_dev]) == 2 &&
- get_option(&str,&cs4232_pcm_irq[nr_dev]) == 2 &&
- get_option_long(&str,&cs4232_mpu_port[nr_dev]) == 2 &&
- get_option(&str,&cs4232_mpu_irq[nr_dev]) == 2 &&
- get_option_long(&str,&ics2115_port[nr_dev]) == 2 &&
- get_option(&str,&ics2115_irq[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);
- nr_dev++;
- return 1;
-}
-
-__setup("snd-wavefront=", alsa_card_wavefront_setup);
-
-#endif /* ifndef MODULE */