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