Re: [PARPORT] Re: Bug in ppa?


Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 19 Jan 1999 03:43:03 +0000 (GMT)


> of the SCSI drivers under linux would suffer a similar fate if you were to
> remove the controller card from the machine before unloading the driver
> (theoretically it is possible to whip a PCI card out without shorting
> anything...)

Probably

> To actually fix this problem would result in turning the ppa driver into a TSR
> program that would periodically (say every 5 seconds) probe the parallel port
> for ppa devices and automatically register/deregister the SCSI hosts. This
> "would be nice" but the problems that this could cause would be enormous, hence

You can do register/unregister of devices in user space. Am I right in thinking
that you can detect it not responding - if so perhaps you need to return
a scsi "media not found" type error if the port has gone walkies ? That
seems a reasonably truthful error. SCSI alas lacks a "user tripped over
wire" error.

Alan

-- 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 Mon 18 Jan 1999 - 21:48:56 EST