Re: Parport irq detection problem in 2.1.62 (patch supplied.)

Tim Waugh (tim@cyberelk.demon.co.uk)
Mon, 10 Nov 1997 08:50:00 +0000 (GMT)


On Mon, 10 Nov 1997, Niels Kristian Bech Jensen wrote:

> A working but crude way of solving the problem is this:
>
> [...]
>
> int init_module(void)
> {
> + int i;
> +
> + for (i = 0; i < PC_MAX_PORTS; i++) {
> + io[i] = 0;
> + dma[i] = PARPORT_DMA_AUTO;
> + irq[i] = PARPORT_IRQ_AUTO;
> + }
> + io[PC_MAX_PORTS] = 0;
> +
> return (parport_pc_init(io, irq, dma)?0:1);
> }

Doesn't this stop things working like "modprobe parport_pc io=0x378
irq=7"?

Tim.
*/