From patchwork Wed Jun 17 01:05:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolai Stange X-Patchwork-Id: 485238 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 711FF14028F for ; Wed, 17 Jun 2015 11:05:37 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=DujquSJk; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757320AbbFQBFS (ORCPT ); Tue, 16 Jun 2015 21:05:18 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:37270 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757083AbbFQBFG (ORCPT ); Tue, 16 Jun 2015 21:05:06 -0400 Received: by wifx6 with SMTP id x6so36260090wif.0; Tue, 16 Jun 2015 18:05:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:cc:cc:cc:cc:cc:date:message-id:user-agent :mime-version:content-type; bh=kZVDKbaVaJq50uUwozhOQKTARGY4hA4yr5M+gO6MHCY=; b=DujquSJk77a4l+CQJC9UommT3e9kdHk4F2Gd74Bo4rnzPJdTQwC0iqPV/LzmMWIz6C TyQKlltor1sklqHdgaMBiPK5UWGP887mJsduWH5vhUnhSMxTkA6g1n5kwScTFooqCwLY Ua+rBLgath/8rXPkfaECKgdSAJUn/fAiyhpmCjJsIyc8mBSHgZLVk7Fso+P+gr8R3hA3 T1/KOm5H5Ux9PcX6iJJg9Nd0zzcapJO4h5EQ4rRIVaie8iX4KGgn2PZqtquuOFsEhVl5 FIO3kOtZ0DQabcooz0jGg3HI99SSAUko+/R8BshmEB9/tToJWT7KrnP6pCxzHqRVlGQT u8Pw== X-Received: by 10.194.192.98 with SMTP id hf2mr715950wjc.23.1434503105200; Tue, 16 Jun 2015 18:05:05 -0700 (PDT) Received: from localhost.localdomain (x55b1889a.dyn.telefonica.de. [85.177.136.154]) by mx.google.com with ESMTPSA id gw7sm23289280wib.15.2015.06.16.18.05.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Jun 2015 18:05:04 -0700 (PDT) From: Nicolai Stange To: linux-kernel@vger.kernel.org Subject: [PATCH] isdn: disable HiSax NetJet driver on microblaze arch CC: netdev@vger.kernel.org CC: Karsten Keil CC: Jean Delvare CC: "David S. Miller" CC: Nicolai Stange Date: Wed, 17 Jun 2015 03:05:02 +0200 Message-ID: <87pp4vw3ep.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fix an allmodconfig compilation failer on microblaze due to big endian architectures being apparently unsupported by the NetJet code: 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" Modify the relevant Kconfig such that the NetJet code is not built on microblaze anymore. Note that endianess on microblaze is not determined through Kconfig, but by means of a compiler provided CPP macro, namely __MICROBLAZEEL__. However, gcc defaults to big endianess on that platform. Signed-off-by: Nicolai Stange Acked-by: Jean Delvare --- The maintainer tree listed under "ISDN SUBSYSTEM" in MAINTAINERS does not exist anymore. I created the diff against the Linus tree. 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