Re: scsi.c patch to allow resets at boot time.

Leonard N. Zubkoff (lnz@dandelion.com)
Tue, 22 Oct 1996 09:56:35 -0700


Date: Tue, 22 Oct 1996 15:51:09 +0200
From: Dario_Ballabio@milano.europe.dg.com

Here enclosed a small but important patch to scsi.c. The aim of this
patch is to allow a scsi reset also near boot time (i.e. before
MIN_RESET_PERIOD seconds from the boot). As a matter of fact some buggy
drives (like SEAGATE ST1480) report a target_status BUSY until the
scsi bus is reset, causing a READ CAPACITY failed error at drive
detection.
This patch allow the mid level scsi code to perform the reset while
doing a MAYREDO, after 2 retires.

Good point. I've made a version that patches cleanly into 2.0.x and am sending
it to Linus for 2.0.24 and 2.1.x. Thanks.

Leonard