Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757004AbYHAQts (ORCPT ); Fri, 1 Aug 2008 12:49:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755158AbYHAQth (ORCPT ); Fri, 1 Aug 2008 12:49:37 -0400 Received: from mail0.lsil.com ([147.145.40.20]:55150 "EHLO mail0.lsil.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751724AbYHAQtg convert rfc822-to-8bit (ORCPT ); Fri, 1 Aug 2008 12:49:36 -0400 From: "Yang, Bo" To: "Yang, Bo" , James Bottomley CC: "linux-scsi@vger.kernel.org" , "akpm@osdl.org" , "linux-kernel@vger.kernel.org" , "Patro, Sumant" , "poswald@novell.com" , "Austria, Winston" Date: Fri, 1 Aug 2008 10:48:48 -0600 Subject: [PATCH 2/4] scsi: megaraid_sas - Add the shutdown DCMD cmd to driver shutdown routine Thread-Topic: [PATCH 2/4] scsi: megaraid_sas - Add the shutdown DCMD cmd to driver shutdown routine Thread-Index: AciItAVU2/gnyqciSguN4aHHEiVCxRrPlpmw Message-ID: <4B6A08C587958942AA3002690DD4F8C31B080962@cosmail02.lsi.com> In-Reply-To: <1205741587.7479.17.camel@pcp021067pcs.se.lsil.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1036 Lines: 24 Add the shutdown DCMD cmd to driver shutdown routine to make megaraid sas FW shutdown proper. Signed-off-by Bo Yang --- drivers/scsi/megaraid/megaraid_sas.c | 1 + 1 files changed, 1 insertion(+) diff -rupN linux-2.6.28_orig/drivers/scsi/megaraid/megaraid_sas.c linux-2.6.28_new/drivers/scsi/megaraid/megaraid_sas.c --- linux-2.6.28_orig/drivers/scsi/megaraid/megaraid_sas.c 2008-07-31 12:51:06.000000000 -0400 +++ linux-2.6.28_new/drivers/scsi/megaraid/megaraid_sas.c 2008-07-31 12:54:09.000000000 -0400 @@ -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); } /** -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/