Make es18xx.c and opl3sa2.c compile again, (CONFIG_SND_ES18XX, CONFIG_SND_OPL3SA2) as in linux-2.6-snd-fix-snd-sb16-ko-compile.patch kabe at sra-tohoku.co.jp *** linux-2.6.18.i686/sound/isa/opl3sa2.c.orig Wed May 25 17:25:54 2011 --- linux-2.6.18.i686/sound/isa/opl3sa2.c Sun May 29 11:18:34 2011 *************** *** 294,300 **** return 0; } ! static irqreturn_t snd_opl3sa2_interrupt(int irq, void *dev_id) { unsigned short status; struct snd_opl3sa2 *chip = dev_id; --- 294,300 ---- return 0; } ! static irqreturn_t snd_opl3sa2_interrupt(int irq, void *dev_id, struct pt_regs *regs) { unsigned short status; struct snd_opl3sa2 *chip = dev_id; *************** *** 312,318 **** if ((status & 0x10) && chip->rmidi != NULL) { handled = 1; ! snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data); } if (status & 0x07) { /* TI,CI,PI */ --- 312,318 ---- if ((status & 0x10) && chip->rmidi != NULL) { handled = 1; ! snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data, regs); } if (status & 0x07) { /* TI,CI,PI */ *** linux-2.6.18.i686/sound/isa/es18xx.c.orig Wed May 25 17:25:55 2011 --- linux-2.6.18.i686/sound/isa/es18xx.c Sun May 29 09:28:43 2011 *************** *** 754,760 **** return snd_es18xx_playback2_trigger(chip, substream, cmd); } ! static irqreturn_t snd_es18xx_interrupt(int irq, void *dev_id) { struct snd_es18xx *chip = dev_id; unsigned char status; --- 754,760 ---- return snd_es18xx_playback2_trigger(chip, substream, cmd); } ! static irqreturn_t snd_es18xx_interrupt(int irq, void *dev_id, struct pt_regs *regs) { struct snd_es18xx *chip = dev_id; unsigned char status; *************** *** 799,805 **** /* MPU */ if ((status & MPU_IRQ) && chip->rmidi) ! snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data); /* Hardware volume */ if (status & HWV_IRQ) { --- 799,805 ---- /* MPU */ if ((status & MPU_IRQ) && chip->rmidi) ! snd_mpu401_uart_interrupt(irq, chip->rmidi->private_data, regs); /* Hardware volume */ if (status & HWV_IRQ) {