PARPORT_SET_TIMEOUT

Section: (9)
Updated: 07 August 2003
Index Return to Main Contents
 

NAME

parport_set_timeout - set the inactivity timeout for a device  

SYNOPSIS

long parport_set_timeout (struct pardevice * dev, long inactivity);  

ARGUMENTS

dev
device on a port
inactivity
inactivity timeout (in jiffies)
 

DESCRIPTION

This sets the inactivity timeout for a particular device on a port. This affects functions like parport_wait_peripheral. The special value 0 means not to call schedule while dealing with this device.

The return value is the previous inactivity timeout.

Any callers of parport_wait_event for this device are woken up.  

ABOUT THIS DOCUMENT

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

If you have comments on the formatting of this manpage, then please contact Michael Still (mikal@stillhq.com).

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 04:27:45 GMT, August 07, 2003