Re: [PARPORT] user-space drivers


Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 6 Jun 1999 01:05:47 +0100 (BST)


> Ah. Another thing I still haven't worked out is how to cope with the
> device getting pulled out. We have a detach() call in the high-level
> driver, at least if it used register_driver, but I can't see an easy way
> of making it race-free, given that the thing can disappear at any time.

Removal is done in the USB thread context (ie a task). You probably want to
then point existing file handles at a parport device fake that just goes
-EIO to everything

-- 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 Sat 05 Jun 1999 - 20:09:08 EDT