netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Finn Thain <fthain@telegraphics.com.au>
To: Nicolas Pitre <nico@fluxnic.net>
Cc: Arnd Bergmann <arnd@arndb.de>,
	linux-kernel@vger.kernel.org,
	"David S. Miller" <davem@davemloft.net>,
	netdev@vger.kernel.org
Subject: Re: [PATCH 06/47] net: smsc: remove m32r specific smc91x configuration
Date: Thu, 15 Mar 2018 15:58:05 +1100 (AEDT)	[thread overview]
Message-ID: <alpine.LNX.2.21.1803151556420.19@nippy.intranet> (raw)
In-Reply-To: <nycvar.YSQ.7.76.1803141144200.28583@knanqh.ubzr>

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 <arnd@arndb.de>
> 
> Acked-by: Nicolas Pitre <nico@fluxnic.net>
> 
> > ---
> >  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 <unit/smc91111.h>
> > -
> >  #elif defined(CONFIG_ATARI)
> >  
> >  #define SMC_CAN_USE_8BIT        1
> > -- 
> > 2.9.0
> > 
> > 
> 

  reply	other threads:[~2018-03-15  4:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-14 15:35 [PATCH 00/47] arch-removal: device drivers Arnd Bergmann
2018-03-14 15:35 ` [PATCH 02/47] net: tile: remove ethernet drivers Arnd Bergmann
2018-03-14 15:35 ` [PATCH 03/47] net: adi: remove blackfin " Arnd Bergmann
2018-03-14 15:35 ` [PATCH 04/47] net: 8390: remove m32r specific bits Arnd Bergmann
2018-03-14 15:35 ` [PATCH 05/47] net: remove cris etrax ethernet driver Arnd Bergmann
2018-03-15 12:19   ` Jesper Nilsson
2018-03-14 15:35 ` [PATCH 06/47] net: smsc: remove m32r specific smc91x configuration Arnd Bergmann
2018-03-14 15:45   ` Nicolas Pitre
2018-03-15  4:58     ` Finn Thain [this message]
2018-03-15  8:07       ` Arnd Bergmann
2018-03-14 15:35 ` [PATCH 30/47] can: remove bfin_can driver Arnd Bergmann
2018-03-14 15:35 ` [PATCH 46/47] staging: irda: remove bfin_sir driver Arnd Bergmann
2018-03-14 16:32   ` Greg Kroah-Hartman
2018-03-14 16:35     ` Arnd Bergmann
2018-03-14 22:45 ` [PATCH 00/47] arch-removal: device drivers Rafael J. Wysocki
2018-03-15  5:32 ` Boris Brezillon
2018-03-15  9:09   ` Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.21.1803151556420.19@nippy.intranet \
    --to=fthain@telegraphics.com.au \
    --cc=arnd@arndb.de \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=nico@fluxnic.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).