Update of /cvsroot/alsa/alsa-kernel/pci In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30226/pci
Modified Files: intel8x0.c Log Message: - return with IRQ_RETVAL() for the unknown IRQ bits (often found on nForce2) with debug messages. Index: intel8x0.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/intel8x0.c,v retrieving revision 1.115 retrieving revision 1.116 diff -u -r1.115 -r1.116 --- intel8x0.c 6 Feb 2004 18:48:33 -0000 1.115 +++ intel8x0.c 11 Feb 2004 12:06:57 -0000 1.116 @@ -804,10 +804,15 @@ spin_lock(&chip->reg_lock); status = igetdword(chip, chip->int_sta_reg); if ((status & chip->int_sta_mask) == 0) { + static int err_count = 10; if (status) iputdword(chip, chip->int_sta_reg, status); spin_unlock(&chip->reg_lock); - return IRQ_NONE; + if (status && err_count) { + err_count--; + snd_printk(KERN_DEBUG "intel8x0: unknown IRQ bits 0x%x (sta_mask=0x%x)\n", status, chip->int_sta_mask); + } + return IRQ_RETVAL(status); } for (i = 0; i < chip->bdbars_count; i++) { ------------------------------------------------------- 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