2.2.5 kernel parallel port driver crash part II

Donald Harter (dharter@mailcity.com)
Thu, 22 Jul 1999 00:00:25 -0500


This is a slight corection to my previous message on this topic. Where the kernel crashed is 3 lines previous to where I said it was. I just noticed a dupllicate printk debug statement that I had put there. Here is where it crashes :

printk ("1 parport_EPP_supported in parport_pc.c \n ");
parport_pc_write_control(pb, parport_pc_read_control(pb) | 0x20);
printk ("2 parport_EPP_supported in parport_pc.c \n ");
parport_pc_write_control(pb, parport_pc_read_control(pb) | 0x10);
printk ("3 parport_EPP_supported in parport_pc.c \n ");
parport_pc_epp_clear_timeout(pb);
printk ("4 parport_EPP_supported in parport_pc.c \n ");
********************************************
It crashes after this statement not a few lines farther down.
***************************************
parport_pc_read_epp(pb);
udelay(30); /* Wait for possible EPP timeout */
printk ("4 parport_EPP_supported in parport_pc.c \n ");

****** this is where I previously said it crashed, but it doesn't ***********

if (parport_pc_read_status(pb) & 0x01) {

printk ("5 parport_EPP_supported in parport_pc.c \n ");
parport_pc_epp_clear_timeout(pb);
printk ("6 parport_EPP_supported in parport_pc.c \n ");

Donald Harter

Get your FREE Email at http://mailcity.lycos.com
Get your PERSONALIZED START PAGE at http://my.lycos.com

-
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/