[SCSI] mpt fusion: fix up msi_enable in mpt_suspend
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 30 Mar 2008 16:38:07 +0000 (11:38 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 7 Apr 2008 17:19:02 +0000 (12:19 -0500)
commitb8e3d3aeabe3be471e448ff5e51b6e57b5819913
tree29ca30ed7bf0b152fe5781e97ec49d3eb93f1aeb
parent53df8ba801b835ebbd116b4585adfe7ce4efd2b3
[SCSI] mpt fusion: fix up msi_enable in mpt_suspend

There's a problem with the combination of the upstream power
management fixes and the enabling of MSI by default in that the
suspend path still uses the global variable.  Convert it to check
ioc->msi_enable.

Cc: "Moore, Eric" <Eric.Moore@lsi.com>
Cc: "Prakash, Sathya" <sathya.prakash@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/message/fusion/mptbase.c