scsi: megaraid_sas: add the shutdown DCMD cmd to driver shutdown routine
Subsystems (2)
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.
Signed-off-by Bo Yang<[email protected]>
Cc James Bottomley <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
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
@@ -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 ); }/**
_