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

Modified Files:
        sb16.c 
Log Message:
- fixed the case of non-pnp board with the same OPL3 port as the main port.





Index: sb16.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/sb/sb16.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- sb16.c      12 Jan 2004 15:54:14 -0000      1.40
+++ sb16.c      13 Jan 2004 17:13:42 -0000      1.41
@@ -483,7 +483,7 @@
        if (fm_port[dev] > 0 && fm_port[dev] != SNDRV_AUTO_PORT) {
                if (snd_opl3_create(card, fm_port[dev], fm_port[dev] + 2,
                                    OPL3_HW_OPL3,
-                                   acard->fm_res != NULL,
+                                   acard->fm_res != NULL || fm_port[dev] == port[dev],
                                    &opl3) < 0) {
                        snd_printk(KERN_ERR PFX "no OPL device at 0x%lx-0x%lx\n",
                                   fm_port[dev], fm_port[dev] + 2);



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to