1PARPORT_CLAIM(9) Parallel Port Devices PARPORT_CLAIM(9)
2
3
4
6 parport_claim - claim access to a parallel port device
7
9 int parport_claim(struct pardevice * dev);
10
12 dev
13 pointer to structure representing a device on the port
14
16 This function will not block and so can be used from interrupt context.
17 If parport_claim succeeds in claiming access to the port it returns
18 zero and the port is available to use. It may fail (returning non-zero)
19 if the port is in use by another driver and that driver is not willing
20 to relinquish control of the port.
21
23Kernel Hackers Manual 2.6. November 2011 PARPORT_CLAIM(9)