Yasha Okshtein wrote:
I need to send soft and/or hard resets from userspace.

Actually, you can do it by requesting manual rescan of the SCSI host.
"echo - - - > /sys/class/scsi_host/hostX/scan"

I've been using this approach to spin up a PATA drive. However,  I
have not figured out a way to return user scan result from kernel.
For instance, how can I tell if the scan failed at reset or Identify
Device from user space?

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

Reply via email to