From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oliver Neukum Date: Sun, 21 Jan 2001 12:04:02 +0000 Subject: Re: SCSI Patches - mostly on/off-line stuff (SBP-2 hot-plug comments) Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org > Good description... and all of this is currently handled in the SBP-2 > driver and IEEE-1394 driver stack. We maintain a mapping between the > IEEE-1394 GUID (globally unique ID), IEEE-1394 node ID (which can change > with each bus reset or reconfiguration), and the SCSI ID. We maintain an > association between the "virtual" SCSI ID reported to the SCSI stack and > the GUID, so that as IEEE-1394 devices are hot plugged or unplugged other > devices do not "move around" (change SCSI IDs). > > We also deal with clearing any unit attentions in the SBP-2 driver itself > (so that a new hot plug does not affect other attached SBP-2 devices). Do you deal with devices that might loose state (eg scanners)? It seems to me that in these cases an error must be reported to user space, at least in some cases. Can you tell the difference at driver level or is all you get "SBP-2 device" ? Regards Oliver _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel