--- linux/sound/drivers/serial-u16550.c 13 Jan 2004 17:09:57 -0000 1.20 +++ linux/sound/drivers/serial-u16550.c 15 Mar 2004 17:40:01 -0000 1.21 @@ -342,7 +342,7 @@ unsigned char c; /* Do some vague tests for the presence of the uart */ - if (io_base == 0) { + if (io_base == 0 || io_base == SNDRV_AUTO_PORT) { return -ENODEV; /* Not configured */ } @@ -804,10 +804,9 @@ return err; } - if (irq >= 0) { + if (irq >= 0 && irq != SNDRV_AUTO_IRQ) { if (request_irq(irq, snd_uart16550_interrupt, SA_INTERRUPT, "Serial MIDI", (void *) uart)) { - uart->irq = -1; snd_printk("irq %d busy. Using Polling.\n", irq); } else { uart->irq = irq;