Messages in this thread | | | Date | Fri, 7 Nov 1997 14:00:19 +0000 (GMT) | From | Tim Waugh <> | Subject | Re: 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. */
| |