On Wed, Feb 07 2001, MEHTA,HIREN (A-SanJose,ex1) wrote:
> Hi All,
>
> Is there any way to force the kernel/scsi layer to call
> the eh_device_reset_handler and other eh_?? entry points ?
> I need to test those routines for our HBA.
>
> Any help is appreciated.
>
There's probaly an easy way that I can't think of right now, but
you could fiddle with the in_recovery flag in you host structure.
This will wake up the error handler and in turn (and under
the right circumstaces) run eh_device_reset_handler.
You could also just set the command timeout lower, so the
errorhandler gets woken before the command completes.
--
Torben Mathiasen <[EMAIL PROTECTED]>
Linux ThunderLAN maintainer
http://opensource.compaq.com
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]