Received: by 10.213.65.68 with SMTP id h4csp1426256imn; Wed, 14 Mar 2018 21:59:53 -0700 (PDT) X-Google-Smtp-Source: AG47ELuJRlUk1TE3HZSFhj2bC2A29hruB+PzQEzJdf/xa/DoPueXbRhzHpjXmjgo/m2nE3jchcJo X-Received: by 2002:a17:902:5a89:: with SMTP id r9-v6mr6442667pli.173.1521089993170; Wed, 14 Mar 2018 21:59:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521089993; cv=none; d=google.com; s=arc-20160816; b=f5aBQ9raO9Pm3TmHkeSuXAYh+0Q+cdJrDG6ZK8xvH/6siDmefdzsasiDUxd5E+5dss jMfJowuwdv0PJbONU5V3Oj3mgGEdCi+XlNJ65ADlqJDR5E6c/hQPMxkJW1ZAq+GqZN+5 aB6X3vHNf00UC9xbMerCwfwzMtqSRprjEBLU1b3CC39HTnLrVV/ZTrVhckcKkvv37gra eiMyqapc2YscGltIJ1xVoJmmg3aQgjHTESoC6mmS5NfXW3DP23mkzwLvMaocvtJppYW1 +7su/YCOrLQFMl8Vx25az7fgm5Nkng0MDsp4Jyd8/zYRzykyR5KLuSkPZo8TV258C/Ft e8Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date:arc-authentication-results; bh=dD4H9jxnMoJivqER/+3VF9JlsvA1+4kB+A8tFzwvDoM=; b=iMlJIw7rYCNTqDEeYC8AXxz99IhLCgyiDnk8npgqVHFhmv5d13uL+rMNrkp/yLfNwm eSuLzaBG3TdeR88ctRouXfkIqmByAeClTZ2GLK7vGjBhClPQkumi4/llcer9ogzKHlWa zNMdvjJuKqNa59jjfbI9c6CW7WG1Oay6zDNnOXo5lck2P1J60+a99wgFKyoy+cNZkJTJ z7qb4eKLZRU8CjQrj7beCDqANDGOD+6tn1otC4s7GQe90YtZ2ftzc30ghSIQLMaBxsGN JnfJjTsucGdKJ6Vzk/+Z8Joh4QS/bK8K+CS1dVF26UD7rcu24vI3nIbGsD8hFQ18SkSp SPJw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u11si3209199pfh.197.2018.03.14.21.59.25; Wed, 14 Mar 2018 21:59:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751414AbeCOE6A (ORCPT + 99 others); Thu, 15 Mar 2018 00:58:00 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:45178 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750715AbeCOE56 (ORCPT ); Thu, 15 Mar 2018 00:57:58 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id 0F87129574; Thu, 15 Mar 2018 00:57:56 -0400 (EDT) Date: Thu, 15 Mar 2018 15:58:05 +1100 (AEDT) From: Finn Thain To: Nicolas Pitre cc: Arnd Bergmann , linux-kernel@vger.kernel.org, "David S. Miller" , netdev@vger.kernel.org Subject: Re: [PATCH 06/47] net: smsc: remove m32r specific smc91x configuration In-Reply-To: Message-ID: References: <20180314153603.3127932-1-arnd@arndb.de> <20180314153603.3127932-7-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 14 Mar 2018, Nicolas Pitre wrote: > On Wed, 14 Mar 2018, Arnd Bergmann wrote: > > > The m32r architecture is getting removed, so this part can be > > cleaned up as well. > > > > Signed-off-by: Arnd Bergmann > > Acked-by: Nicolas Pitre > > > --- > > drivers/net/ethernet/smsc/Kconfig | 4 ++-- > > drivers/net/ethernet/smsc/smc91x.h | 26 -------------------------- > > 2 files changed, 2 insertions(+), 28 deletions(-) > > > > diff --git a/drivers/net/ethernet/smsc/Kconfig b/drivers/net/ethernet/smsc/Kconfig > > index 4c2f612e4414..1c2b6663f7ce 100644 > > --- a/drivers/net/ethernet/smsc/Kconfig > > +++ b/drivers/net/ethernet/smsc/Kconfig > > @@ -37,8 +37,8 @@ config SMC91X > > select CRC32 > > select MII > > depends on !OF || GPIOLIB > > - depends on ARM || ARM64 || ATARI_ETHERNAT || BLACKFIN || COLDFIRE || \ > > - M32R || MIPS || MN10300 || NIOS2 || SUPERH || XTENSA || H8300 > > + depends on ARM || ARM64 || ATARI_ETHERNAT || COLDFIRE || \ > > + MIPS || NIOS2 || SUPERH || XTENSA || H8300 > > ---help--- > > This is a driver for SMC's 91x series of Ethernet chipsets, > > including the SMC91C94 and the SMC91C111. Say Y if you want it > > diff --git a/drivers/net/ethernet/smsc/smc91x.h b/drivers/net/ethernet/smsc/smc91x.h > > index 08b17adf0a65..b337ee97e0c0 100644 > > --- a/drivers/net/ethernet/smsc/smc91x.h > > +++ b/drivers/net/ethernet/smsc/smc91x.h > > @@ -144,32 +144,6 @@ static inline void _SMC_outw_align4(u16 val, void __iomem *ioaddr, int reg, > > > > #define SMC_IRQ_FLAGS (0) > > > > -#elif defined(CONFIG_M32R) > > - > > -#define SMC_CAN_USE_8BIT 0 > > -#define SMC_CAN_USE_16BIT 1 > > -#define SMC_CAN_USE_32BIT 0 > > - > > -#define SMC_inb(a, r) inb(((u32)a) + (r)) > > -#define SMC_inw(a, r) inw(((u32)a) + (r)) > > -#define SMC_outb(v, a, r) outb(v, ((u32)a) + (r)) > > -#define SMC_outw(lp, v, a, r) outw(v, ((u32)a) + (r)) > > -#define SMC_insw(a, r, p, l) insw(((u32)a) + (r), p, l) > > -#define SMC_outsw(a, r, p, l) outsw(((u32)a) + (r), p, l) > > - > > -#define SMC_IRQ_FLAGS (0) > > - > > -#define RPC_LSA_DEFAULT RPC_LED_TX_RX > > -#define RPC_LSB_DEFAULT RPC_LED_100_10 > > - > > -#elif defined(CONFIG_MN10300) MN103 is a separate architecture, unrelated to M32R afaict... -- > > - > > -/* > > - * MN10300/AM33 configuration > > - */ > > - > > -#include > > - > > #elif defined(CONFIG_ATARI) > > > > #define SMC_CAN_USE_8BIT 1 > > -- > > 2.9.0 > > > > >