> >>Oops, that won't work on isapnp since dma = dma2 = -1 at this stage, how
> >>about;
> >>
> >>if ((dma != -1) && (dma2 != -1)) frob();
> >>
> I don't get what you mean? I tested this, if I do "modprobe opl3sa2
> dma=1 dma2=3" it will activate
> the card with dma 1,3 (according to /proc/isapnp). However, my card will
> not work with these values.
How about this, you check if the resource register reads 0 for the DMA
value and you reassign it using the resource registers, that way you skip
on using magic values.
Cheers,
Zwane
-- http://function.linuxpower.ca
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/