Update of /cvsroot/alsa/alsa-kernel/isa/wavefront In directory sc8-pr-cvs1:/tmp/cvs-serv10312/isa/wavefront
Modified Files: wavefront.c Log Message: - added snd_card_set_dev() macro. - sysfsfied more pci, isapnp and usb drivers. Index: wavefront.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/isa/wavefront/wavefront.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- wavefront.c 30 Oct 2003 14:21:09 -0000 1.26 +++ wavefront.c 21 Jan 2004 18:32:47 -0000 1.27 @@ -449,12 +449,15 @@ card->private_free = snd_wavefront_free; #ifdef CONFIG_PNP - if (isapnp[dev] && snd_wavefront_pnp (dev, acard, pcard, pid) < 0) { - if (cs4232_pcm_port[dev] == SNDRV_AUTO_PORT) { - snd_printk ("isapnp detection failed\n"); - snd_card_free (card); - return -ENODEV; + if (isapnp[dev]) { + if (snd_wavefront_pnp (dev, acard, pcard, pid) < 0) { + if (cs4232_pcm_port[dev] == SNDRV_AUTO_PORT) { + snd_printk ("isapnp detection failed\n"); + snd_card_free (card); + return -ENODEV; + } } + snd_card_set_dev(card, &pcard->card->dev); } #endif /* CONFIG_PNP */ ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog