• Hannes Reinecke's avatar
    [SCSI] aic79xx bus reset update · f41b5cec
    Hannes Reinecke authored
    As James B. correctly noted, ahd_reset_channel() in
    ahd_linux_bus_reset() should be protected by ahd_lock().  However, the
    main reason for not doing so was a deadlock with the interesting
    polling mechanism to detect the end a bus reset.
    
    This patch replaces the polling mechanism with a saner signalling via
    flags; it also gives us the benefit of detecting any multiple calls to
    ahd_reset_channel().
    Signed-off-by: default avatarHannes Reinecke <hare@suse.de>
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    f41b5cec
aic79xx_osm.c 77.1 KB