1 Oct 2003 23:48
Re: [PATCH] BusLogic: add error handling, fix queuecommand, docs.
Mike Anderson <andmike <at> us.ibm.com>
2003-10-01 21:48:18 GMT
2003-10-01 21:48:18 GMT
Randy.Dunlap [rddunlap <at> osdl.org] wrote:
> +/* Error Handling (EH) support */
> +
> +static int BusLogic_abort(Scsi_Cmnd *SCpnt)
> +{
> + return FAILED;
> +}
> +
> +static int BusLogic_bus_reset(Scsi_Cmnd *SCpnt)
> +{
> + return FAILED;
> +}
> +
> +static int BusLogic_device_reset(Scsi_Cmnd *SCpnt)
> +{
> + return FAILED;
> +}
> +
If the functions are just going to return FAILED you may want to
consider leaving them out. Having these functions return fail will cause
the output to be noisy. Either with this noisy output or not the
recovery will end up at BusLogic_host_reset.
-andmike
--
Michael Anderson
andmike <at> us.ibm.com
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
RSS Feed