[PARPORT] Patch[2.4.0test6]: fix panic on parport ZIP (timeout on read defect list)

From: Gunther Mayer (Gunther.Mayer@t-online.de)
Date: Sun Aug 20 2000 - 07:02:00 EDT

  • Next message: Dennis K: "[PARPORT] problems recording cd's..."

    Hi,
    this patch finally fixes the panic with "scsiinfo -d"
    on my parport ZIP-250.

    Please apply to the kernel.

    Regards, Gunther

    Background:
    On conversion to the new scsi error handling
    routines, the flag "use_new_eh_code" was overseen.
    Consequently "scsi_obsolete.c" would panic because it
    follows any NULL pointers it gets...

    Besides this the ZIP takes a long time to complete
    this command, so the timeout had to be changed too.

    P.S. The "imm_reset" routine is still wrong, as it
    does only reset the device but doesn't forget about
    it's current command (so you will get "bug in imm_interrupt"
    if you ever take a timeout).


    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Sun Aug 20 2000 - 09:06:27 EDT