]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[SCSI] megaraid_sas: Fix the fix for fw hang caused by megaraid sas application
authorYang, Bo <Bo.Yang@lsi.com>
Tue, 6 Oct 2009 20:47:35 +0000 (14:47 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 29 Oct 2009 17:03:21 +0000 (13:03 -0400)
commit0c79e681eef10810a5ed41a2eb1dce244ab1c37d
treec6b389d9acafd043ddbc5b8ea159f1ee1d4fc899
parentf4c9a1317d32bb0af7546ef0c1dcc3be52dc8d0a
[SCSI] megaraid_sas: Fix the fix for fw hang caused by megaraid sas application

Add a lock to the skinny firmware initialisation sequence to prevent
the two stage write being non atomic if multiple instances use it.

Add a flag to the driver shutdown sequence to prevent aen ioctls being
called after shutdown begins.

Signed-off-by Bo Yang<bo.yang@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/megaraid/megaraid_sas.c
drivers/scsi/megaraid/megaraid_sas.h