• James Bottomley's avatar
    [SCSI] mptspi: reset handler shouldn't be called for other bus protocols · 4ff42a66
    James Bottomley authored
    All registered reset callback handlers are called during reset processing.
    The mptspi modules has its own reset callback handler, just recently
    added for issuing domain validation after host reset.  If either the mptsas or
    mptfc driver are loaded, this callback could be called. Thus resulting
    in domain validation being issued for sas or fibre end devices.
    
    Fix this by having mptbase.c check the bus type against the driver
    type and only call the reset handler if they match (or if it's a
    non-bus specific reset handler).
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
    4ff42a66
mptbase.c 183 KB