From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932965AbWF2V6Q (ORCPT ); Thu, 29 Jun 2006 17:58:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932946AbWF2V6O (ORCPT ); Thu, 29 Jun 2006 17:58:14 -0400 Received: from mx.pathscale.com ([64.160.42.68]:34959 "EHLO mx.pathscale.com") by vger.kernel.org with ESMTP id S932878AbWF2VoJ (ORCPT ); Thu, 29 Jun 2006 17:44:09 -0400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [PATCH 16 of 39] IB/ipath - enable freeze mode when shutting down device X-Mercurial-Node: fd5e733f02aceffe3434f9f4a11bdbb89a0f26b5 Message-Id: In-Reply-To: Date: Thu, 29 Jun 2006 14:41:07 -0700 From: "Bryan O'Sullivan" To: akpm@osdl.org, rdreier@cisco.com, mst@mellanox.co.il Cc: openib-general@openib.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Dave Olson Signed-off-by: Bryan O'Sullivan diff -r 125471ee6c68 -r fd5e733f02ac drivers/infiniband/hw/ipath/ipath_driver.c --- a/drivers/infiniband/hw/ipath/ipath_driver.c Thu Jun 29 14:33:25 2006 -0700 +++ b/drivers/infiniband/hw/ipath/ipath_driver.c Thu Jun 29 14:33:25 2006 -0700 @@ -1656,7 +1656,7 @@ void ipath_shutdown_device(struct ipath_ /* disable IBC */ dd->ipath_control &= ~INFINIPATH_C_LINKENABLE; ipath_write_kreg(dd, dd->ipath_kregs->kr_control, - dd->ipath_control); + dd->ipath_control | INFINIPATH_C_FREEZEMODE); /* * clear SerdesEnable and turn the leds off; do this here because