lkml.org 
[lkml]   [1999]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: need docs: using parport & console system
    On Wed, 25 Aug 1999, Florian Kusche wrote:

    > parport:
    > parport.h is quite well documented. However, I missed some information about
    > the flags that can be passed to parport_register_device(). What does
    > PARPORT_DEV_COMA mean?

    Nothing -- it's for parport internals only, and it's not actually even
    used any more. The only flag for parport_register_device at the moment is
    PARPORT_DEV_EXCL.

    > Also, when should I call parport_claim()?

    Normally, you put parport_claim at the beginning of a data transfer that
    cannot be interrupted, and parport_release at the end.

    > At the moment, I'm using exclusive mode. Do I then have to use
    > parport_claim() at all? (It works without) If yes, when should I call it?

    You ought to, yes. It will set up the port's 'current device driver',
    which some of the functions in port->ops rely on.

    You should probably call parport_claim just after parport_register_device
    succeeds.

    Tim.
    */


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

    \
     
     \ /
      Last update: 2005-03-22 13:53    [W:0.020 / U:1.316 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site