diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2006-05-17 19:06:52 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-05-19 17:43:08 -0400 |
commit | 4ff42a669a9ad3eb8274da31c7baabd968c2d365 (patch) | |
tree | 39a79bc30bcfa41990d6b1986ceadb63c8d1183f /mm | |
parent | c3d833685583f943fb0b5511a9e4602becb1668b (diff) |
[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: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions