From patchwork Fri Jan 15 23:48:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 8044961 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 60C009F859 for ; Fri, 15 Jan 2016 23:49:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A184D2037F for ; Fri, 15 Jan 2016 23:49:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9D1A22037E for ; Fri, 15 Jan 2016 23:49:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753812AbcAOXtF (ORCPT ); Fri, 15 Jan 2016 18:49:05 -0500 Received: from mail-lb0-f173.google.com ([209.85.217.173]:33798 "EHLO mail-lb0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753560AbcAOXtE (ORCPT ); Fri, 15 Jan 2016 18:49:04 -0500 Received: by mail-lb0-f173.google.com with SMTP id cl12so105492220lbc.1 for ; Fri, 15 Jan 2016 15:49:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=dYmSEJkUrIvp/IbZLKHO6kRCnGsVhuLi0aZ9mHYxl6g=; b=kmrhrxawM6HeAe3Hjn5t6RssCDuBFOGTtojdRxa/vI1DlYC83leI+7F5rE75AJlMNc rLSJHKbG0q915OkLjhHs/TQFMvtAB6cFQ70USDaPS5M2CC2X7M6jxO4+VlrKmYSq7f1n 40tytc55Io+21lCLJieOwkCDMuLyvvvtvxoucEmkeqsoZyZELO4dfG/c3bAmVVM4wM3q rtF+7jbUHueC0CR2M97Xc8PsCF8Oe60PXclLbmEqnmngEPBno8IzUPcsDcSLbFp3sUVw r8lmMcam44xAnqtzbcIFdHqFUqX+MnNjqIjCW9j1ggxlF/tJRRD/ryNz+gHtphSuupl2 pNgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=dYmSEJkUrIvp/IbZLKHO6kRCnGsVhuLi0aZ9mHYxl6g=; b=Qy02AJIOMXTRppnG68KuD6fCJYZ7/lQfbxl+P6A/laAXwtXfcrqFMGSY6uUEEQ90c7 2jR2rHc9RWkRSV+rNiadR3uuleWKbDal/czRipThX/JAmoJU6PCuW3Qiw6rdYfbyPZov WDe60yTjxgbrBOX2md/++DdOLTK0RkPBJ35uzAp6ECso+5BXyG9kDlvaSkqOncsewL6K +dL2SiGGKFg/Rv5RAQmVmEfzMbRNZPz6UH0xvD4WH4IY46cLm1fYsx+vwZcyjD4dQ106 dcnOC8SO3GjDkLbSl+yIow2JIWoC2vcGg6Bovxvasb2UGKRns4uE9o54Cv22BGPsMgWg /bBA== X-Gm-Message-State: ALoCoQkZIgLs6gbwUQDf/k4N/ga9NMwm8eFxEyy+O8v7s+MiYkGgVfmz1kxr0pJJXX3QVY5edNmNDEVLJTQ9xWaSbuSN1osMfQ== X-Received: by 10.112.181.225 with SMTP id dz1mr3582230lbc.103.1452901742844; Fri, 15 Jan 2016 15:49:02 -0800 (PST) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id rg10sm1614958lbb.11.2016.01.15.15.49.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jan 2016 15:49:02 -0800 (PST) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Kalle Valo , linux-wireless@vger.kernel.org Cc: Hauke Mehrtens , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Subject: [PATCH 2/2] bcma: support chipsets with PMU and GCI cores (devices) Date: Sat, 16 Jan 2016 00:48:53 +0100 Message-Id: <1452901733-22271-2-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1452901733-22271-1-git-send-email-zajec5@gmail.com> References: <1452901733-22271-1-git-send-email-zajec5@gmail.com> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Both cores are another exceptions. They are not accessed in a standard way and to they don't need or have wrapping addresses. This fixes bus scanning after finding such core. Signed-off-by: Rafa? Mi?ecki --- drivers/bcma/scan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bcma/scan.c b/drivers/bcma/scan.c index 5ee7311..4a2d1b2 100644 --- a/drivers/bcma/scan.c +++ b/drivers/bcma/scan.c @@ -318,6 +318,8 @@ static int bcma_get_next_core(struct bcma_bus *bus, u32 __iomem **eromptr, switch (core->id.id) { case BCMA_CORE_4706_MAC_GBIT_COMMON: case BCMA_CORE_NS_CHIPCOMMON_B: + case BCMA_CORE_PMU: + case BCMA_CORE_GCI: /* Not used yet: case BCMA_CORE_OOB_ROUTER: */ break; default: