1PARPORT_SET_TIMEOUT(9) Parallel Port Devices PARPORT_SET_TIMEOUT(9)
2
3
4
6 parport_set_timeout - set the inactivity timeout for a device
7
9 long parport_set_timeout(struct pardevice * dev, long inactivity);
10
12 dev
13 device on a port
14
15 inactivity
16 inactivity timeout (in jiffies)
17
19 This sets the inactivity timeout for a particular device on a port.
20 This affects functions like parport_wait_peripheral. The special value
21 0 means not to call schedule while dealing with this device.
22
23 The return value is the previous inactivity timeout.
24
25 Any callers of parport_wait_event for this device are woken up.
26
28Kernel Hackers Manual 2.6. November 2011 PARPORT_SET_TIMEOUT(9)