Re: [PARPORT] parallel port programming

From: Tim Waugh (twaugh@redhat.com)
Date: Wed Apr 05 2000 - 06:25:35 EDT

  • Next message: Nordic Boy: "Re: [PARPORT] parallel port programming"

    On Tue, 4 Apr 2000, Nordic Boy wrote:

    > Actually, I am not yet using 2.3.99xxx. The documentation that I
    > found stated that parport_enumerate was deprecated. I guess I assumed
    > that it was for 2.2.x as most of the parallel port documentation that
    > I have found is mostly for even older kernels.

    Yes, it is deprecated, in 2.3.x.

    > If parport_register_driver calls my attach routine for each port, is
    > there a way to limit which ports it tries if there are more than one?

    attach(struct parport *port)
    {
            if (i_want_this_port(port)) {
                    dev = parport_register_device (...);
            }
    }

    > I know this is a little off topic, but could you direct me to
    > information on how to view sgml (docbook). I found plenty of
    > documentation on writing sgml, but none on viewing it. This of course
    > relates to viewing the documentation in the kernel sources.

    For the kernel bits, 'make psdocs'. You need to have things like jade and
    docbook installed.

    Tim.
    */

    -- 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 : Wed Apr 05 2000 - 06:31:51 EDT