Skip to content
Commit 4ff42a66 authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[SCSI] mptspi: reset handler shouldn't be called for other bus protocols



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>
parent c3d83368
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment