All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Ungerer <gregungerer@westnet.com.au>
To: Paul Bolle <pebolle@tiscali.nl>,
	Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] m68k: remove check for CONFIG_BSEIP
Date: Mon, 10 Nov 2014 12:44:09 +1000	[thread overview]
Message-ID: <54602679.80505@westnet.com.au> (raw)
In-Reply-To: <1400572571.4912.7.camel@x220>

Hi Paul,

On 20/05/14 17:56, Paul Bolle wrote:
> There used to be a Kconfig symbol BSEIP. It was PPC specific and was
> removed in v2.6.27. So the check for CONFIG_BSEIP can be removed. This
> means a few defines will be removed. None of the macros involved are
> used, so no one should care.
> 
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>

Thanks, applied to m68knommu for-next branch.

Regards
Greg



> ---
> Untested.
> 
>  arch/m68k/include/asm/commproc.h | 22 ----------------------
>  1 file changed, 22 deletions(-)
> 
> diff --git a/arch/m68k/include/asm/commproc.h b/arch/m68k/include/asm/commproc.h
> index 66a36bd51aa1..c67e09279ea9 100644
> --- a/arch/m68k/include/asm/commproc.h
> +++ b/arch/m68k/include/asm/commproc.h
> @@ -480,28 +480,6 @@ typedef struct scc_enet {
>  #define SICR_ENET_CLKRT	((uint)0x0000003d)
>  #endif
>  
> -#ifdef CONFIG_BSEIP
> -/* This ENET stuff is for the MPC823 with ethernet on SCC2.
> - * This is unique to the BSE ip-Engine board.
> - */
> -#define PA_ENET_RXD	((ushort)0x0004)
> -#define PA_ENET_TXD	((ushort)0x0008)
> -#define PA_ENET_TCLK	((ushort)0x0100)
> -#define PA_ENET_RCLK	((ushort)0x0200)
> -#define PB_ENET_TENA	((uint)0x00002000)
> -#define PC_ENET_CLSN	((ushort)0x0040)
> -#define PC_ENET_RENA	((ushort)0x0080)
> -
> -/* BSE uses port B and C bits for PHY control also.
> -*/
> -#define PB_BSE_POWERUP	((uint)0x00000004)
> -#define PB_BSE_FDXDIS	((uint)0x00008000)
> -#define PC_BSE_LOOPBACK	((ushort)0x0800)
> -
> -#define SICR_ENET_MASK	((uint)0x0000ff00)
> -#define SICR_ENET_CLKRT	((uint)0x00002c00)
> -#endif
> -
>  /* SCC Event register as used by Ethernet.
>  */
>  #define SCCE_ENET_GRA	((ushort)0x0080)	/* Graceful stop complete */
> 

WARNING: multiple messages have this Message-ID (diff)
From: Greg Ungerer <gregungerer@westnet.com.au>
To: Paul Bolle <pebolle@tiscali.nl>,
	Geert Uytterhoeven <geert@linux-m68k.org>
Cc: linux-m68k@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] m68k: remove check for CONFIG_BSEIP
Date: Mon, 10 Nov 2014 12:44:09 +1000	[thread overview]
Message-ID: <54602679.80505@westnet.com.au> (raw)
In-Reply-To: <1400572571.4912.7.camel@x220>

Hi Paul,

On 20/05/14 17:56, Paul Bolle wrote:
> There used to be a Kconfig symbol BSEIP. It was PPC specific and was
> removed in v2.6.27. So the check for CONFIG_BSEIP can be removed. This
> means a few defines will be removed. None of the macros involved are
> used, so no one should care.
> 
> Signed-off-by: Paul Bolle <pebolle@tiscali.nl>

Thanks, applied to m68knommu for-next branch.

Regards
Greg



> ---
> Untested.
> 
>  arch/m68k/include/asm/commproc.h | 22 ----------------------
>  1 file changed, 22 deletions(-)
> 
> diff --git a/arch/m68k/include/asm/commproc.h b/arch/m68k/include/asm/commproc.h
> index 66a36bd51aa1..c67e09279ea9 100644
> --- a/arch/m68k/include/asm/commproc.h
> +++ b/arch/m68k/include/asm/commproc.h
> @@ -480,28 +480,6 @@ typedef struct scc_enet {
>  #define SICR_ENET_CLKRT	((uint)0x0000003d)
>  #endif
>  
> -#ifdef CONFIG_BSEIP
> -/* This ENET stuff is for the MPC823 with ethernet on SCC2.
> - * This is unique to the BSE ip-Engine board.
> - */
> -#define PA_ENET_RXD	((ushort)0x0004)
> -#define PA_ENET_TXD	((ushort)0x0008)
> -#define PA_ENET_TCLK	((ushort)0x0100)
> -#define PA_ENET_RCLK	((ushort)0x0200)
> -#define PB_ENET_TENA	((uint)0x00002000)
> -#define PC_ENET_CLSN	((ushort)0x0040)
> -#define PC_ENET_RENA	((ushort)0x0080)
> -
> -/* BSE uses port B and C bits for PHY control also.
> -*/
> -#define PB_BSE_POWERUP	((uint)0x00000004)
> -#define PB_BSE_FDXDIS	((uint)0x00008000)
> -#define PC_BSE_LOOPBACK	((ushort)0x0800)
> -
> -#define SICR_ENET_MASK	((uint)0x0000ff00)
> -#define SICR_ENET_CLKRT	((uint)0x00002c00)
> -#endif
> -
>  /* SCC Event register as used by Ethernet.
>  */
>  #define SCCE_ENET_GRA	((ushort)0x0080)	/* Graceful stop complete */
> 


  reply	other threads:[~2014-11-10  2:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-20  7:56 [PATCH] m68k: remove check for CONFIG_BSEIP Paul Bolle
2014-05-20  7:56 ` Paul Bolle
2014-11-10  2:44 ` Greg Ungerer [this message]
2014-11-10  2:44   ` Greg Ungerer

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=54602679.80505@westnet.com.au \
    --to=gregungerer@westnet.com.au \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.org \
    --cc=pebolle@tiscali.nl \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.