From patchwork Mon Aug 4 18:24:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Gang X-Patchwork-Id: 376415 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 6242B14009C for ; Tue, 5 Aug 2014 04:24:34 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751650AbaHDSYP (ORCPT ); Mon, 4 Aug 2014 14:24:15 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:55577 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750925AbaHDSYO (ORCPT ); Mon, 4 Aug 2014 14:24:14 -0400 Received: by mail-pa0-f49.google.com with SMTP id hz1so10478979pad.36 for ; Mon, 04 Aug 2014 11:24:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=PUOLbUSNaOIQU7Pto44UktbzihpwrjELiSGu5PfMhrA=; b=IHsxvTlcxIuRd0Tb7Flt0tG0YlB5Tz/eFttNCHoDXjjcxzKUHeS/O8Z8WN1LdnlLHK JsqNn5QS0DodlQitsLrYL5m+UT0qrPQTSxwg0+dhT7SPHaQyWtvpIhUBn/68sDjLObp+ 2pALIGn8C89L/jwYhlZzuq/gwuwRbmsYClx9GDXZwcXPYkSfqVvGL7jELD1Zr3Yc3ijL 0M62BVK0HpGU+gko+j4I65RZ/pikTCMMYEhgFgRG3eRNy1vduLIv8c8Ss0YUMc2iv4bm Gkm9oC5K2S/O9kUlM0USM2lSLDedtQLWLeUeSb6G7rDQUlxpENU3dEx10FQvYY1i3NJJ /Glg== X-Received: by 10.66.251.233 with SMTP id zn9mr26027229pac.67.1407176653967; Mon, 04 Aug 2014 11:24:13 -0700 (PDT) Received: from [192.168.1.102] ([223.72.65.31]) by mx.google.com with ESMTPSA id kk3sm18175631pbc.51.2014.08.04.11.24.11 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 04 Aug 2014 11:24:13 -0700 (PDT) Message-ID: <53DFCFC9.6060307@gmail.com> Date: Tue, 05 Aug 2014 02:24:09 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: isdn@linux-pingi.de CC: davem@davemloft.net, Jean Delvare , netdev@vger.kernel.org, "linux-kernel@vger.kernel.org" , monstr@monstr.eu Subject: [PATCH] drivers/isdn/hisax/Kconfig: Let HISAX_NETJET skip microblaze architecture Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org For HISAX_NETJET, HISAX_NETJET_U or related config needs !__BIG_ENDIAN, so skip microblaze, just like skip all other architectures which have no CONFIG_*_ENDIAN. The related error (with allmodconfig under microblaze): CC [M] drivers/isdn/hisax/nj_s.o drivers/isdn/hisax/nj_s.c: In function 'setup_netjet_s': drivers/isdn/hisax/nj_s.c:265:2: error: #error "not running on big endian machines now" #error "not running on big endian machines now" ^ Signed-off-by: Chen Gang --- drivers/isdn/hisax/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/isdn/hisax/Kconfig b/drivers/isdn/hisax/Kconfig index 97465ac..eb83d94 100644 --- a/drivers/isdn/hisax/Kconfig +++ b/drivers/isdn/hisax/Kconfig @@ -237,7 +237,7 @@ config HISAX_MIC config HISAX_NETJET bool "NETjet card" - depends on PCI && (BROKEN || !(PPC || PARISC || M68K || (MIPS && !CPU_LITTLE_ENDIAN) || FRV || (XTENSA && !CPU_LITTLE_ENDIAN))) + depends on PCI && (BROKEN || !(PPC || PARISC || M68K || (MIPS && !CPU_LITTLE_ENDIAN) || FRV || (XTENSA && !CPU_LITTLE_ENDIAN) || MICROBLAZE)) depends on VIRT_TO_BUS help This enables HiSax support for the NetJet from Traverse @@ -249,7 +249,7 @@ config HISAX_NETJET config HISAX_NETJET_U bool "NETspider U card" - depends on PCI && (BROKEN || !(PPC || PARISC || M68K || (MIPS && !CPU_LITTLE_ENDIAN) || FRV || (XTENSA && !CPU_LITTLE_ENDIAN))) + depends on PCI && (BROKEN || !(PPC || PARISC || M68K || (MIPS && !CPU_LITTLE_ENDIAN) || FRV || (XTENSA && !CPU_LITTLE_ENDIAN) || MICROBLAZE)) depends on VIRT_TO_BUS help This enables HiSax support for the Netspider U interface ISDN card