On Tue, 25 Jul 2006, Vladislav Bolkhovitin wrote: > Currently it is impossible to reset provided by Qlogic QLA2xxx driver > SCSI devices externally using corresponding sg devices, particularly via > sg_reset utility, because qla2xxx driver in qla2xxx_eh_device_reset() > function checks if the input scsi_cmnd has its private data (CMD_SP()) > attached. Then the found pointer isn't used anywhere inside of > qla2xxx_eh_device_reset(). If the RESET request comes from sg device, it > doesn't have such private data. > > The attached patch removes check for non-NULL CMD_SP() from > qla2xxx_eh_device_reset(), hence allows to reset QLA2xxx's devices using > corresponding sg devices. hmm... actually this change should propegate to the bus and host reset handlers as well. I have a series of small fixes queued for submission, I'll add you patch (with the bus/host deltas) to the queue. Thanks, Andrew Vasquez - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html