Re: [PARPORT] Example Code

From: Tim Waugh (twaugh@redhat.com)
Date: Wed Mar 28 2001 - 10:30:46 EST

  • Next message: Gunther Mayer: "[PARPORT] Patch[lx242] parport+ACPI+PNPBIOS v0.03"

    On Tue, Mar 27, 2001 at 06:49:50PM -0500, Andrew Hogue wrote:

    > I am new to writing drivers and would like to see a few simple examples in
    > C so that I could write a parallel port driver (preferably kernel level)
    > to access some custom hardware of mine. I know the protocol (i.e. which
    > bits to set on which pins) in order to access my hardware and how to power
    > it up etc...

    drivers/char/lp.c
    drivers/net/plip.c
    drivers/media/video/cpia_pp.c
    drivers/block/paride/*

    Also, do 'make htmldocs' and take a look in Documentation/DocBook.

    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 Mar 28 2001 - 10:34:52 EST