-- Pete Clements clem@clem.digital.net > > I've just had a quick look at this problem, and I think this patch might > help. Could you try it out and let me know please? > > Thanks, > Tim. > */ > > Index: init.c > =================================================================== > RCS file: /big/cvsroot/linux/drivers/parport/init.c,v > retrieving revision 1.3 > diff -u -r1.3 init.c > --- init.c 1999/09/10 20:10:13 1.3 > +++ init.c 1999/09/12 09:50:05 > @@ -72,7 +72,8 @@ > dma[parport_setup_ptr] = PARPORT_DMA_NONE; > > sep = strchr (str, ','); > - if (sep++) { > + if (sep) { > + sep++; > if (!strncmp (sep, "auto", 4)) > irq[parport_setup_ptr] = PARPORT_IRQ_AUTO; > else if (strncmp (sep, "none", 4)) { > @@ -85,10 +86,12 @@ > } > irq[parport_setup_ptr] = val; > } > + > + sep = strchr (sep, ','); > } > > - sep = strchr (sep, ','); > - if (sep++) { > + if (sep) { > + sep++; > if (!strncmp (sep, "auto", 4)) > dma[parport_setup_ptr] = PARPORT_DMA_AUTO; > else if (strncmp (sep, "none", 4)) { >- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/