Skip to content

Commit

Permalink
[SCSI] megaraid_sas: add the shutdown DCMD cmd to driver shutdown rou…
Browse files Browse the repository at this point in the history
…tine

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>
  • Loading branch information
Yang, Bo authored and James Bottomley committed Aug 16, 2008
1 parent 06f579d commit 530e6fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/scsi/megaraid/megaraid_sas.c
Original file line number Diff line number Diff line change
Expand Up @@ -2863,6 +2863,7 @@ static void megasas_shutdown(struct pci_dev *pdev)
{
struct megasas_instance *instance = pci_get_drvdata(pdev);
megasas_flush_cache(instance);
megasas_shutdown_controller(instance, MR_DCMD_CTRL_SHUTDOWN);
}

/**
Expand Down

0 comments on commit 530e6fc

Please sign in to comment.