> (1) Is it okay for scsi lower layer drivers
> report device changes to the scsi mid-layer when 
> the events are received, using scsi_add_device and
> scsi_remove_device?

Yes.  But be aware that they can't be called from irq
context.

> (3) How does the app know about the asyn events?

The kernel sends hotplug events.  I don't know
the details on how to hook into the hotplug subsystem,
please ask the hotplug-devel list for details.

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to