parport_set_timeout9
Set the inactivity timeout for a device
Usage
long parport_set_timeout(struct pardevice * dev, long inactivity);
Arguments
dev
device on a port
inactivity
inactivity timeout (in jiffies)
Overview
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.
Releases
5 releases since Debian 4.0 (Etch); the text changed 4 times.