From patchwork Wed Mar 14 07:14:08 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 146565 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id E5073B6EF3 for ; Wed, 14 Mar 2012 17:59:52 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756634Ab2CNG7u (ORCPT ); Wed, 14 Mar 2012 02:59:50 -0400 Received: from mga09.intel.com ([134.134.136.24]:35378 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753416Ab2CNG7u (ORCPT ); Wed, 14 Mar 2012 02:59:50 -0400 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 13 Mar 2012 23:59:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,351,1309762800"; d="scan'208";a="120827442" Received: from dwillia2-linux.jf.intel.com ([10.23.45.110]) by orsmga002.jf.intel.com with ESMTP; 13 Mar 2012 23:58:49 -0700 Received: from dwillia2-linux.jf.intel.com (localhost.localdomain [IPv6:::1]) by dwillia2-linux.jf.intel.com (Postfix) with ESMTP id A038F800DF; Wed, 14 Mar 2012 00:14:08 -0700 (PDT) Subject: [isci PATCH v3 4/4] isci: enable BCN in sci_port_add_phy() To: linux-scsi@vger.kernel.org From: Dan Williams Cc: Maciej Trela , linux-ide@vger.kernel.org, Richard Boyd Date: Wed, 14 Mar 2012 00:14:08 -0700 Message-ID: <20120314071408.7223.84179.stgit@dwillia2-linux.jf.intel.com> In-Reply-To: <20120314071312.7223.10946.stgit@dwillia2-linux.jf.intel.com> References: <20120314071312.7223.10946.stgit@dwillia2-linux.jf.intel.com> User-Agent: StGit/0.16-1-g7004 MIME-Version: 1.0 Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org From: Maciej Trela Ensure we enable receiving BCN's from the hardware when adding phy to isci_port. Otherwise if we get BCN before the port is created we won't see any BCN Signed-off-by: Maciej Trela Reported-by: Richard Boyd Signed-off-by: Dan Williams --- drivers/scsi/isci/port.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/scsi/isci/port.c b/drivers/scsi/isci/port.c index 6ef4bd9..0a3aec1 100644 --- a/drivers/scsi/isci/port.c +++ b/drivers/scsi/isci/port.c @@ -1199,6 +1199,8 @@ enum sci_status sci_port_add_phy(struct isci_port *iport, enum sci_status status; enum sci_port_states state; + sci_port_bcn_enable(iport); + state = iport->sm.current_state_id; switch (state) { case SCI_PORT_STOPPED: {