Skip to contentSkip to conversation

scsi: megaraid_sas: add the shutdown DCMD cmd to driver shutdown routine

PATCH New [email protected] 1 participant 1 message Aug 10, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/4 scsi: megaraid_sas: add the shutdown DCMD cmd to driver shutdown routine

From: "Yang, Bo" <[email protected]>

Add the shutdown DCMD cmd to driver shutdown routine to make megaraid sas FW shutdown proper.

---

 drivers/scsi/megaraid/megaraid_sas.c |    1 +
 1 file changed, 1 insertion(+)
drivers/scsi/megaraid/megaraid_sas.c renamed from drivers/scsi/megaraid/megaraid_sas.c~scsi-megaraid_sas-add-the-shutdown-dcmd-cmd-to-driver-shutdown-routine +1 -0
diff -puN drivers/scsi/megaraid/megaraid_sas.c~scsi-megaraid_sas-add-the-shutdown-dcmd-cmd-to-driver-shutdown-routine drivers/scsi/megaraid/megaraid_sas.c
@@ -2863,6 +2863,7 @@ static void megasas_shutdown(struct pci_
 {
 	struct megasas_instance *instance = pci_get_drvdata(pdev);
 	megasas_flush_cache(instance);
+	megasas_shutdown_controller(instance, MR_DCMD_CTRL_SHUTDOWN);
 }
 
 /**

_