.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "PARPORT_SET_TIMEOUT" "" "06 October 2005" "" "" .SH NAME parport_set_timeout \- set the inactivity timeout for a device .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp long parport_set_timeout (struct pardevice * \fIdev\fB, long \fIinactivity\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR device on a port .TP \fB\fIinactivity\fB\fR inactivity timeout (in jiffies) .SH "DESCRIPTION" .PP This sets the inactivity timeout for a particular device on a port. This affects functions like \fBparport_wait_peripheral\fR\&. The special value 0 means not to call \fBschedule\fR while dealing with this device. .PP The return value is the previous inactivity timeout. .PP Any callers of \fBparport_wait_event\fR for this device are woken up.