From patchwork Fri Nov 2 15:47:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10665741 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E8EA313B5 for ; Fri, 2 Nov 2018 15:48:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D5B902BF71 for ; Fri, 2 Nov 2018 15:48:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C78912BF75; Fri, 2 Nov 2018 15:48:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 658F52BF71 for ; Fri, 2 Nov 2018 15:48:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727551AbeKCAza (ORCPT ); Fri, 2 Nov 2018 20:55:30 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:50379 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727820AbeKCAza (ORCPT ); Fri, 2 Nov 2018 20:55:30 -0400 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPA (Nemesis) id 1MadC8-1fhuGy2p3K-00c5tQ; Fri, 02 Nov 2018 16:47:42 +0100 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPA (Nemesis) id 1MadC8-1fhuGy2p3K-00c5tQ; Fri, 02 Nov 2018 16:47:42 +0100 From: Arnd Bergmann To: "James E.J. Bottomley" , "Martin K. Petersen" Cc: Arnd Bergmann , Hannes Reinecke , Johannes Thumshirn , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] scsi: myrs: only build on little-endian platforms Date: Fri, 2 Nov 2018 16:47:23 +0100 Message-Id: <20181102154740.2011289-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:tTw5B+h8d5z8bsOIPBCyLc1qb7hir+Hl5vrgsRcq3BpkzZ7+/7/ ZnaexOMFNTYdsYFbQ82rJFYutOaiTJUh7kST6kb4zfSARS1qpApwXNGqtDUnPqVqdjMpJ9L ajiXeC5hLJ8yFQ/kLniSeaou2HRZqo4posoGchgGBr2A3nMuFtKWtV6G7b3tJ5gDDkP8N8q sgbwasf3KIb9S5NfpohqA== X-UI-Out-Filterresults: notjunk:1;V01:K0:Imq3BK1NRDM=:Lkn4PUzLwyKBan3HXmGSAF Z0IcGWQl6xqNbEMG11l+r2cennw98ZVWGSHdLQS0qNF41rDHmrXp7nkRdDaPio8+QASbaWsts ntiL/2b9fBRPqf2StQqCJQoTDJvaiv/uaAFQFxU2m2nGNA1j0m33stulwBISVKOzOMSjEqetw jVnNh9PCAhBtxbhAtv1NZPChlPe/aCD4TapsUbw39NZL4UUImTFfciHqWVPyWtvGVJlw3ABlF HhbY1eZvOQYcyLPJaxcN9P0PQAfH6EbpV6Ytm1QK9oTvJes4SlzHPx/2eMzX3ug1aaKq8Ieiz Iws4T4osjQb9hOgfeBz4FGBYIqcG1V1/Z7113tiNcX0OStFjq3HJEQpuUaxlpBiY5jwWgRTdf MMmJLtIC8D3y4lGp/Jyvr5Udde1JhPbE7QYXceexXtasvxgtQAunKPDmjQPfaxcZ4TCyMclu0 b47t8JFW5b5K76G4nwkGUJdoiJWRou682jBBRi5Pdy3YcaxPLLl7uRVHH6vx40bfmKJD17TQr pA0wNTBy2vFs/m0i4W1Vk5HUNN2UC/jcOZSM8YOd3KaWAB+ESX3hNC8+yKBM61eU+yJNjZraN TFTPsF2e+Dy0oK2scl+nbcgQireCEpfpaUmCTzIHTbnzmbwjqFRPgwrbkIngTFl6LUubZLQSi YREprGrjpw8XNe4RdVE8pf7ouf+/h6nqNh4FKT48O2Rjud2Dx7pfFIDpKBCAUJkYirh4= Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Reading throught the new driver, I noticed that this cannot work on big-endian CPUs, and the old DAC960 had exactly the same behavior. To document this for the future, add a Kconfig dependency that prevents it from being included in big-endian kernels. Since the hardware is really old and we never had a working driver on it for big-endian platforms, it's unlikely to make a difference to users. Signed-off-by: Arnd Bergmann Reviewed-by: Hannes Reinecke --- drivers/scsi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index f07444d30b21..640cd1b31a18 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig @@ -578,6 +578,7 @@ config SCSI_MYRB config SCSI_MYRS tristate "Mylex DAC960/DAC1100 PCI RAID Controller (SCSI Interface)" depends on PCI + depends on !CPU_BIG_ENDIAN || COMPILE_TEST select RAID_ATTRS help This driver adds support for the Mylex DAC960, AcceleRAID, and