lkml.org 
[lkml]   [1997]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Parport irq detection problem in 2.1.62 (patch supplied.)
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.
*/


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.129 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site