Re: [PARPORT] Bug in parport_pc.c (2.2.x)

From: Marcel Wijlaars (marcelw@wfw.wtb.tue.nl)
Date: Tue Oct 23 2001 - 06:50:34 EDT

  • Next message: Tim Waugh: "Re: [PARPORT] Bug in parport_pc.c (2.2.x)"

    Thanks Tim Waugh & Philip Blundell for the quick reply,

    >
    >In 2.2 an error is signalled by int return from check_region.
    >

    you are right, I did not check this properly, my mistake.

    >>In the parport_pc.c file the parport_pc_probe_port function does a "if (
    >>check_region(base,3) ) return NULL;" which I think should be "if (
    >>!check_region(base,3) ) return NULL;"
    >>
    >
    >No, it is correct as it is.
    >

    So if check_region (base,3) = TRUE the parport_pc_probe _port function
    should return NULL ?

    Thanks again,

     
    * Marcel Wijlaars *
    Eindhoven University of Technology
    Mechanical Engineering
    Materials Technology
    PO Box 513 ,WH 4.111
    5600 MB Eindhoven, The Netherlands

    Tel: +31 40 247 4813
    Fax: +31 40 244 7355
    Email: marcelw@wfw.wtb.tue.nl
    <mailto:marcelw@wfw.wtb.tue.nl>

    -- 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 : Tue Oct 23 2001 - 06:54:19 EDT