Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932332AbbFVMg0 (ORCPT ); Mon, 22 Jun 2015 08:36:26 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:35209 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754298AbbFVMgR convert rfc822-to-8bit (ORCPT ); Mon, 22 Jun 2015 08:36:17 -0400 From: Nicolai Stange To: Jean Delvare Cc: Nicolai Stange , David Miller , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, isdn@linux-pingi.de, Chen Gang , Ralf Baechle Subject: Re: [PATCH] isdn: disable HiSax NetJet driver on microblaze arch References: <87pp4vw3ep.fsf@gmail.com> <20150621.095400.890337700038231482.davem@davemloft.net> <87y4jdc58w.fsf@gmail.com> <1434972453.4568.8.camel@chaos.site> Date: Mon, 22 Jun 2015 14:36:11 +0200 In-Reply-To: <1434972453.4568.8.camel@chaos.site> (Jean Delvare's message of "Mon, 22 Jun 2015 13:27:33 +0200") Message-ID: <87lhfbly2s.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1566 Lines: 36 Jean Delvare writes: > Le Sunday 21 June 2015 à 19:59 +0200, Nicolai Stange a écrit : >> David Miller writes: >>> Applied, but we're long overdue for an across-the-board-available >>> endianness Kconfig option that can flat out be used in these situations. >>> The current way this is handled is at best, a mess. >> >> Regarding the general Kconfig endianess symbol, I will do another patch >> based on the information of >> git grep '_endian\.h' -- arch/ >> and supply every arch with either of CONFIG_CPU_{LITTLE,BIG}_ENDIAN if >> lacking. > > Note that Chen Gang (Cc'd) attempted the same almost a year ago: > http://patchwork.linux-mips.org/patch/7540/ > then: > http://marc.info/?t=140958656400002&r=1&w=2 > > The idea was great IMHO but it did not work out, and I can't remember > why. Thank you very much for this pointer, Jean! I've read through these threads and to summarize, some arch maintainers' main point against that patchset is that (recent) drivers should generally support both, LE and BE. It is interesting to note that Chen Gang had already addressed the very same issue (Hisax NetJet driver) by the far more general approach proposed by David Miller here, namely by introducing an "across-the-board-available endianess Kconfig option". So unless you really want to have such an option and ping me, I will not do another patch in the mood of Chen Gang's original one. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/