lkml.org 
[lkml]   [1997]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Parport irq detection problem in 2.1.62.
On Fri, 7 Nov 1997, Niels Kristian Bech Jensen wrote:

> Hi,
> I have a irq detection problem with the parallel port driver in 2.1.62.
> It cannot detect my second (polling) parallel port correctly (parport1.)
>
> Here is the logging output:
> Nov 7 08:52:15 hafnium kernel: parport0: PC-style at 0x378 [SPP,ECPEPP,ECPPS2]
> Nov 7 08:52:15 hafnium kernel: parport1: PC-style at 0x278, irq 0, dma 0 [SPP]

Hmm, this looks like a problem with the code here:

static int dma[PC_MAX_PORTS] = { PARPORT_DMA_AUTO, };
static int irq[PC_MAX_PORTS] = { PARPORT_IRQ_AUTO, };

The intention was do set the entire array to PARPORT_xxx_AUTO, but only
the first element is initialised.

I'm not quite sure what the best fix for this is. Phil, any ideas?

Tim.
*/



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