On 13-03-08 05:24, Bob Tracy wrote:> Rene...Rene.diff --git a/sound/isa/es18xx.c b/sound/isa/es18xx.cindex 90498e4..71d1b96 100644--- a/sound/isa/es18xx.c+++ b/sound/isa/es18xx.c@@ -1449,16 +1449,16 @@ static int __devinit snd_es18xx_initialize(struct snd_es18xx *chip) switch (chip->irq) { case 2: case 9:- irqmask = 0;+ irqmask = 0x0; break; case 5:- irqmask = 1;+ irqmask = 0x5; break; case 7:- irqmask = 2;+ irqmask = 0xa; break; case 10:- irqmask = 3;+ irqmask = 0xf; break; default: snd_printk(KERN_ERR "invalid irq %d\n", chip->irq);@@ -1497,7 +1497,7 @@ static int __devinit snd_es18xx_initialize(struct snd_es18xx *chip) } /* Enable and set Audio 1 IRQ */- snd_es18xx_write(chip, 0xB1, 0x50 | (irqmask << 2));+ snd_es18xx_write(chip, 0xB1, 0x50 | irqmask); /* Enable and set Audio 1 DMA */ snd_es18xx_write(chip, 0xB2, 0x50 | (dma1mask << 2)); /* Set Audio 2 DMA */@@ -1513,7 +1513,9 @@ static int __devinit snd_es18xx_initialize(struct snd_es18xx *chip) FM enabled */ snd_es18xx_mixer_write(chip, 0x40, 0x43 | (chip->mpu_port & 0xf0) >> 1); }+#if 0 snd_es18xx_mixer_write(chip, 0x7f, ((irqmask + 1) << 1) | 0x01);+#endif } if (chip->caps & ES18XX_NEW_RATE) { /* Change behaviour of register A1