From patchwork Fri Jan 15 23:48:52 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: 8044971 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 863C5BEEE5 for ; Fri, 15 Jan 2016 23:49:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AE8472037F for ; Fri, 15 Jan 2016 23:49:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DC9302037E for ; Fri, 15 Jan 2016 23:49:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753793AbcAOXtE (ORCPT ); Fri, 15 Jan 2016 18:49:04 -0500 Received: from mail-lb0-f182.google.com ([209.85.217.182]:33667 "EHLO mail-lb0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753764AbcAOXtD (ORCPT ); Fri, 15 Jan 2016 18:49:03 -0500 Received: by mail-lb0-f182.google.com with SMTP id x4so66539595lbm.0 for ; Fri, 15 Jan 2016 15:49:02 -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:mime-version:content-type :content-transfer-encoding; bh=NMVdbSNQY31c3EvSGEIcE8yZdgC563Uk+mnAGpsoXQ0=; b=twYwPmlveJ8O1Dv3SfJOEW5PfcfwA9Ltx+ba7vybbOrinuqxDZoLIfFt7gq6jrX3vs kY01fYzLkl2pqejP4Qyka5JXDCP1xcAlaavRg0WwHX0j0knaXBAd9WAHaSVgcYqeP9vX 5BTkg+Z1hmleEnxvNxv0lCJW+bdNE/7Opc/hiokVSBH0hhiHkrs9nLiNFjggLRvQg9Mu PIz9Y01deEDUaTrBXzYysziJsozpOOtvKkLpvLdzTH2taBtYImzxHNvzWHBwsQRkdtCt 1evfGnm3SOK3Oh3c9bneGQGle0VLuJLmVYLfkli6aoA3hnB253gq7Oe+yqKNDnK77ePW T6cg== 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:mime-version :content-type:content-transfer-encoding; bh=NMVdbSNQY31c3EvSGEIcE8yZdgC563Uk+mnAGpsoXQ0=; b=l4ZekZxdoOSuYeiZ7+4auXwframmT5V6+LW20qkdfd5R7FaY9jQdTIfjpjSlH3YD5/ frB1qUKg5KID8EnWz5RiNwqJkINKqdTptLhGtKiUYdhecnKb1AVfBkHjiSdQWQXb3QoC Mu3wO1vygmhll3Xq6i+h8LF1g7yCI6vMrhcspKVpx0kKeZBIKpTJs36c71SicaioSKtP cRj5eSoea679gkiJb7PkG/wjQY9nkFFGV3gLE1K5RMHf/AyhjBcSG3W4Or5yKqmITPty 2xzuwR/nzfKQha1mVEJwdQdVEkDfhEarp3/KOTEuKphu3hfSueipG0gXBSF1ewx6OQz4 xYRQ== X-Gm-Message-State: ALoCoQkgTcB/cjlQGqU2JawYitblD9cuQRberjIEe13X8Ge7GA8ypgl5rpx1moSFPMy7s2cKYpNgEcybkNUCAlEoxJsceP/csg== X-Received: by 10.112.139.130 with SMTP id qy2mr3641398lbb.18.1452901741215; Fri, 15 Jan 2016 15:49:01 -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.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jan 2016 15:49:00 -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 1/2] bcma: identify bus cores (devices) found on BCM47189 Date: Sat, 16 Jan 2016 00:48:52 +0100 Message-Id: <1452901733-22271-1-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 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 Add missing defines and print proper names. Signed-off-by: Rafa? Mi?ecki --- drivers/bcma/scan.c | 3 +++ include/linux/bcma/bcma.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/bcma/scan.c b/drivers/bcma/scan.c index df806b9..5ee7311 100644 --- a/drivers/bcma/scan.c +++ b/drivers/bcma/scan.c @@ -98,6 +98,9 @@ static const struct bcma_device_id_name bcma_bcm_device_names[] = { { BCMA_CORE_SHIM, "SHIM" }, { BCMA_CORE_PCIE2, "PCIe Gen2" }, { BCMA_CORE_ARM_CR4, "ARM CR4" }, + { BCMA_CORE_GCI, "GCI" }, + { BCMA_CORE_CMEM, "CNDS DDR2/3 memory controller" }, + { BCMA_CORE_ARM_CA7, "ARM CA7" }, { BCMA_CORE_DEFAULT, "Default" }, }; diff --git a/include/linux/bcma/bcma.h b/include/linux/bcma/bcma.h index 3feb1b2..991ebb4 100644 --- a/include/linux/bcma/bcma.h +++ b/include/linux/bcma/bcma.h @@ -151,6 +151,8 @@ struct bcma_host_ops { #define BCMA_CORE_PCIE2 0x83C /* PCI Express Gen2 */ #define BCMA_CORE_USB30_DEV 0x83D #define BCMA_CORE_ARM_CR4 0x83E +#define BCMA_CORE_GCI 0x840 +#define BCMA_CORE_CMEM 0x846 /* CNDS DDR2/3 memory controller */ #define BCMA_CORE_ARM_CA7 0x847 #define BCMA_CORE_SYS_MEM 0x849 #define BCMA_CORE_DEFAULT 0xFFF