Received: by 10.213.65.68 with SMTP id h4csp1072243imn; Wed, 14 Mar 2018 08:47:38 -0700 (PDT) X-Google-Smtp-Source: AG47ELtpRfdwTpGVg9QiGidI0fgLmArgr5izjngn0OHR2NGYR/oauKEqUJlRlbrDucDkkm8/0GnR X-Received: by 10.167.131.135 with SMTP id u7mr4762032pfm.50.1521042458352; Wed, 14 Mar 2018 08:47:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521042458; cv=none; d=google.com; s=arc-20160816; b=MZcgj8Z/VJWlTaxyYyHzgOvBRPmmgOMNJ7NHR2wkkbX5H6YnudaoQlVrfU0afj8WgQ gjwlD214mCi7zOGBDjTQpTsg/gkjhTRd6WEQ0+GC4jDYN6YvZCbq3yK0cNnDOJCS8uYP xH8u9G5Ld7RrWc1DbR1Meovba2oHRXEzrPfz+413AZsAXQiBSbSnhu2LffGXFoSAffta 1I2FK7o8RUBI4tzBG+4CRiA98BJDUUkxogZCSVNozWdjjNyzHlwqhPXJ5V6ufvThg+JB ZeDYQeKWN17IyHBGGUopmf1ppN8w6qYawfd7e+0PJqrO18aaNAGvVoIOQ74IZ+eWrriW e7kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature :dkim-signature:arc-authentication-results; bh=CcGdYd/3iqhxHxf3aVImjMnSZB6NClcAG+ul6WR4uzo=; b=ZqWev1aOG0s9NZ2NBJ5zWOF2nXtduQ5n3AuC9+eXx5s2dXKjMvSPN0oNhE1y262qrD lcHo56mI4CJpoduZZrrG+8foemZRJ5JSFsmYN0rptKyNyjx0IArbx2jUYefbTl2+QMFJ IGZ5Q3fQ9CEmazQCPS7FSlqNHov2DKS3quaaFHxfoXYuvNm4ozNQC8SVGKEW/0tWWHfV 7leaSMIMjr/LJWBZP8zAAa/iiqCovEt3Ewsfq0bhGiBtop5CYn++GJAHK9wUr+Pq5LcJ 74EXLNZUA+ip38Z5t0N6/l5l5EBsQCXw+jQhBYfNs0dCvj148AZiqKX13gXsMXAdJ3RQ Dbuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=mWrjjTk9; dkim=temperror (no key for signature) header.i=@fluxnic.net header.s=2016-12.pbsmtp header.b=EYsrPON8; 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 o27si2301432pfi.119.2018.03.14.08.47.20; Wed, 14 Mar 2018 08:47:38 -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; dkim=pass header.i=@pobox.com header.s=sasl header.b=mWrjjTk9; dkim=temperror (no key for signature) header.i=@fluxnic.net header.s=2016-12.pbsmtp header.b=EYsrPON8; 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 S1752454AbeCNPpq (ORCPT + 99 others); Wed, 14 Mar 2018 11:45:46 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:64763 "EHLO pb-smtp2.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbeCNPpl (ORCPT ); Wed, 14 Mar 2018 11:45:41 -0400 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 80A56C5557; Wed, 14 Mar 2018 11:45:40 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sasl; bh=wzGj7XKQyys2lVG3jmc0q4CPBno=; b=mWrjjT k9og72EOmUrtHmkU61IdM7PfNhmyQbBIcY5/QBaqWmDpvXQN1qnVR2lgswr6Q3Ff 49N/l/1oAezK0kmSYFjAlSyjRxYlv2P6cTXDvtTGYAlYwQu9IvFldAWcC2QKoXjV asKAWbIWhBYMovfDeCmfQLsW4dC2B827W8lgk= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 7738BC5555; Wed, 14 Mar 2018 11:45:40 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=fluxnic.net; h=date:from:to:cc:subject:in-reply-to:message-id:references:mime-version:content-type; s=2016-12.pbsmtp; bh=cb5b25Xmw4Qp9NkZvwK516ekSDoWlcz98bVf2E/HPH0=; b=EYsrPON8cfrzfbAilB7TSb9+xq5xY0zadZz3f/4KpUj0Z9sKLCuJ+L1Fru0uh+z4VcGkiE+Y4Za0wtd44/Hk05JZaWIrmeOFBsFVNiaH1QWiS0Agsm2N1sq6Tsz5RimouBEZbtlIuOnY7K7DZOXADKPMaExJZygWfVHBjJgtTRw= Received: from yoda.home (unknown [70.82.104.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 0300CC5554; Wed, 14 Mar 2018 11:45:40 -0400 (EDT) Received: from xanadu.home (xanadu.home [192.168.2.2]) by yoda.home (Postfix) with ESMTPSA id 398E32DA018B; Wed, 14 Mar 2018 11:45:39 -0400 (EDT) Date: Wed, 14 Mar 2018 11:45:39 -0400 (EDT) From: Nicolas Pitre To: Arnd Bergmann cc: linux-kernel@vger.kernel.org, Finn Thain , "David S. Miller" , netdev@vger.kernel.org Subject: Re: [PATCH 06/47] net: smsc: remove m32r specific smc91x configuration In-Reply-To: <20180314153603.3127932-7-arnd@arndb.de> Message-ID: References: <20180314153603.3127932-1-arnd@arndb.de> <20180314153603.3127932-7-arnd@arndb.de> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Pobox-Relay-ID: BF29C3EE-279E-11E8-A262-67830C78B957-78420484!pb-smtp2.pobox.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) > - > -/* > - * MN10300/AM33 configuration > - */ > - > -#include > - > #elif defined(CONFIG_ATARI) > > #define SMC_CAN_USE_8BIT 1 > -- > 2.9.0 > >