[SCSI] mptfusion: Added new less expensive RESET (Message Unit Reset)
authorKashyap, Desai <kashyap.desai@lsi.com>
Thu, 18 Mar 2010 13:42:17 +0000 (19:12 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:24:04 +0000 (09:24 -0500)
commitd0f698c46141e1d179fb3a86a0ae668d2fd12916
treea66e2ba2f34ea63d1568a46270c5414e842dad1d
parent1a7d7eac6f651c00e954023dd2542f0c65ef66b7
[SCSI] mptfusion: Added new less expensive RESET (Message Unit Reset)

Message Unit Reset - instructs the IOC to reset the Reply Post and
Free FIFO's. All the Message Frames on Reply Free FIFO are
discarded. All posted buffers are freed, and event notification is
turned off.  IOC doesnt reply to any outstanding request. This will
transfer IOC to READY state.  Message unit ready is less expensive
operations than Hard Reset.  soft reset will not force Firmware to
reload again, it only do clean up of Message units.

mpt_Soft_Hard_ResetHandler will first try for Soft Reset,if
it fails then go for big hammer reset which is Hard Reset.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/message/fusion/mptbase.c
drivers/message/fusion/mptbase.h
drivers/message/fusion/mptctl.c
drivers/message/fusion/mptsas.c
drivers/message/fusion/mptscsih.c