> 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.
*/