[PARPORT] PARPORT_DEV_EXCL


Tim Waugh (twaugh@matra.co.uk)
Fri, 25 Sep 1998 14:24:52 +0100


> I guess so. If a driver really does claim the port and "never" release it

> again (meaning not unless you unload it or down the device) then there
needs
> to be some way for it to tell parport about this so that it can return a
> "permanent failure" code from parport_claim.

I don't think parport_claim needs to be modified - just
parport_register_device:

- fail if there is already a device registered for exclusive access to this
port,
- if trying to register for exclusive access, fail if any other devices.

Tim.
*/

-- 
twaugh@matra.co.uk     MATRA Systems (UK) Ltd., Home Farm, Leigh Road,
                       Eastleigh, SO50 9EU  Registered in Cardiff 2642797

-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:18:23 EST