aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/megaraid/megaraid_sas.c
diff options
context:
space:
mode:
authorYang, Bo <Bo.Yang@lsi.com>2008-08-10 15:42:37 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-08-16 11:13:32 -0400
commit530e6fc1e05f14762aea954ca8d6422c5a7077c1 (patch)
tree666a4aedfdaef111f35f3b644b6a9c70287c345e /drivers/scsi/megaraid/megaraid_sas.c
parent06f579dee5dd75c2aaf8fe83d034b5470eeee2f4 (diff)
[SCSI] megaraid_sas: add the shutdown DCMD cmd to driver shutdown routine
Add the shutdown DCMD cmd to driver shutdown routine to make megaraid sas FW shutdown proper. Signed-off-by: Bo Yang <bo.yang@lsi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/megaraid/megaraid_sas.c')
-rw-r--r--drivers/scsi/megaraid/megaraid_sas.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/megaraid/megaraid_sas.c b/drivers/scsi/megaraid/megaraid_sas.c
index d7b99843ca3e..e880cd450e0c 100644
--- a/drivers/scsi/megaraid/megaraid_sas.c
+++ b/drivers/scsi/megaraid/megaraid_sas.c
@@ -2863,6 +2863,7 @@ static void megasas_shutdown(struct pci_dev *pdev)
2863{ 2863{
2864 struct megasas_instance *instance = pci_get_drvdata(pdev); 2864 struct megasas_instance *instance = pci_get_drvdata(pdev);
2865 megasas_flush_cache(instance); 2865 megasas_flush_cache(instance);
2866 megasas_shutdown_controller(instance, MR_DCMD_CTRL_SHUTDOWN);
2866} 2867}
2867 2868
2868/** 2869/**