[SCSI] mptfusion: Proper error handling is added after mpt_config timeout
authorKashyap, Desai <kashyap.desai@lsi.com>
Thu, 18 Mar 2010 13:54:57 +0000 (19:24 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 11 Apr 2010 14:24:13 +0000 (09:24 -0500)
commit0cf0f23c286459625eb5cbf9934135ff3156ce95
tree3a1785c7f1cecd6f6ec83a4bcece0545540b7bf7
parentf18a8927f6779f5dc9dc4327522c8a12f2cf31b9
[SCSI] mptfusion: Proper error handling is added after mpt_config timeout

Added proper error handling after mpt_config.
Now check of MPI_IOCSTATUS_CONFIG_INVALID_PAGE is added.
If error is MPI_IOCSTATUS_CONFIG_INVALID_PAGE, driver will return -ENODEV.

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