Skip to contentSkip to conversation

xtensa: remove s6000 variant and s6105 platform

PATCH Applied Daniel Glöckner 5 participants 12 messages Oct 18, 2014 – Dec 22, 2014

Subsystems (5)
lore
Share & tools
lore
#1 lore raw

PATCH 1/1 net: s6gmac: remove driver

In reply to Daniel Glöckner

The s6000 Xtensa support is removed from the kernel. There are no other chips using this driver.

While the Mentor/Alcatel PE-MCXMAC IP core is also used in other designs (Freescale Gianfar/UCC, QLogic NetXen, Solarflare, Agere ET-1310, Netlogic XLR/XLS), none of these use this driver as it heavily depends on the s6000 DMA engine. In fact, there is no code sharing across any of the aforementioned devices.

---
 drivers/net/ethernet/Kconfig  |   12 -
 drivers/net/ethernet/Makefile |    1 -
 drivers/net/ethernet/s6gmac.c | 1059 -----------------------------------------
 3 files changed, 1072 deletions(-)
 delete mode 100644 drivers/net/ethernet/s6gmac.c
drivers/net/ethernet/Kconfig +0 -12
index 1ed1fbb..42d1b2a 100644
@@ -155,18 +155,6 @@ source "drivers/net/ethernet/qualcomm/Kconfig"
 source "drivers/net/ethernet/realtek/Kconfig"
 source "drivers/net/ethernet/renesas/Kconfig"
 source "drivers/net/ethernet/rdc/Kconfig"
-
-config S6GMAC
-	tristate "S6105 GMAC ethernet support"
-	depends on XTENSA_VARIANT_S6000
-	select PHYLIB
-	---help---
-	  This driver supports the on chip ethernet device on the
-	  S6105 xtensa processor.
-
-	  To compile this driver as a module, choose M here. The module
-	  will be called s6gmac.
-
 source "drivers/net/ethernet/samsung/Kconfig"
 source "drivers/net/ethernet/seeq/Kconfig"
 source "drivers/net/ethernet/silan/Kconfig"
drivers/net/ethernet/Makefile +0 -1
index 6e0b629..6b52312 100644
@@ -65,7 +65,6 @@ obj-$(CONFIG_NET_VENDOR_QUALCOMM) += qualcomm/
 obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/
 obj-$(CONFIG_SH_ETH) += renesas/
 obj-$(CONFIG_NET_VENDOR_RDC) += rdc/
-obj-$(CONFIG_S6GMAC) += s6gmac.o
 obj-$(CONFIG_NET_VENDOR_SAMSUNG) += samsung/
 obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/
 obj-$(CONFIG_NET_VENDOR_SILAN) += silan/
drivers/net/ethernet/s6gmac.c deleted +0 -1059

1,059 lines not on this page · raw message

Signature · 1 line
2.1.2
#9 lore raw

PATCH 1/1 ASoC: s6000: remove driver

In reply to Daniel Glöckner

The s6000 Xtensa support is removed from the kernel. There are no other chips known to use this I2S controller.

---
 sound/soc/Kconfig             |   1 -
 sound/soc/Makefile            |   1 -
 sound/soc/s6000/Kconfig       |  26 --
 sound/soc/s6000/Makefile      |  11 -
 sound/soc/s6000/s6000-i2s.c   | 617 ------------------------------------------
 sound/soc/s6000/s6000-i2s.h   |  23 --
 sound/soc/s6000/s6000-pcm.c   | 521 -----------------------------------
 sound/soc/s6000/s6000-pcm.h   |  33 ---
 sound/soc/s6000/s6105-ipcam.c | 221 ---------------
 9 files changed, 1454 deletions(-)
 delete mode 100644 sound/soc/s6000/Kconfig
 delete mode 100644 sound/soc/s6000/Makefile
 delete mode 100644 sound/soc/s6000/s6000-i2s.c
 delete mode 100644 sound/soc/s6000/s6000-i2s.h
 delete mode 100644 sound/soc/s6000/s6000-pcm.c
 delete mode 100644 sound/soc/s6000/s6000-pcm.h
 delete mode 100644 sound/soc/s6000/s6105-ipcam.c
sound/soc/Kconfig +0 -1
index 0e96233..7d5d644 100644
@@ -49,7 +49,6 @@ source "sound/soc/mxs/Kconfig"
 source "sound/soc/pxa/Kconfig"
 source "sound/soc/rockchip/Kconfig"
 source "sound/soc/samsung/Kconfig"
-source "sound/soc/s6000/Kconfig"
 source "sound/soc/sh/Kconfig"
 source "sound/soc/sirf/Kconfig"
 source "sound/soc/spear/Kconfig"
sound/soc/Makefile +0 -1
index 534714a..d88edfc 100644
@@ -26,7 +26,6 @@ obj-$(CONFIG_SND_SOC)	+= kirkwood/
 obj-$(CONFIG_SND_SOC)	+= pxa/
 obj-$(CONFIG_SND_SOC)	+= rockchip/
 obj-$(CONFIG_SND_SOC)	+= samsung/
-obj-$(CONFIG_SND_SOC)	+= s6000/
 obj-$(CONFIG_SND_SOC)	+= sh/
 obj-$(CONFIG_SND_SOC)	+= sirf/
 obj-$(CONFIG_SND_SOC)	+= spear/
sound/soc/s6000/Kconfig deleted +0 -26
deleted file mode 100644
index f244a25..0000000
@@ -1,26 +0,0 @@
-config SND_S6000_SOC
-	tristate "SoC Audio for the Stretch s6000 family"
-	depends on XTENSA_VARIANT_S6000 || COMPILE_TEST
-	depends on HAS_IOMEM
-	select SND_S6000_SOC_PCM if XTENSA_VARIANT_S6000
-	help
-	  Say Y or M if you want to add support for codecs attached to
-	  s6000 family chips. You will also need to select the platform
-	  to support below.
-
-config SND_S6000_SOC_PCM
-	tristate
-
-config SND_S6000_SOC_I2S
-	tristate
-
-config SND_S6000_SOC_S6IPCAM
-	bool "SoC Audio support for Stretch 6105 IP Camera"
-	depends on SND_S6000_SOC=y
-	depends on I2C=y
-	depends on XTENSA_PLATFORM_S6105 || COMPILE_TEST
-	select SND_S6000_SOC_I2S
-	select SND_SOC_TLV320AIC3X
-	help
-	  Say Y if you want to add support for SoC audio on the
-	  Stretch s6105 IP Camera Reference Design.
sound/soc/s6000/Makefile deleted +0 -11
deleted file mode 100644
index 0f0ae2a..0000000
@@ -1,11 +0,0 @@
-# s6000 Platform Support
-snd-soc-s6000-objs := s6000-pcm.o
-snd-soc-s6000-i2s-objs := s6000-i2s.o
-
-obj-$(CONFIG_SND_S6000_SOC_PCM) += snd-soc-s6000.o
-obj-$(CONFIG_SND_S6000_SOC_I2S) += snd-soc-s6000-i2s.o
-
-# s6105 Machine Support
-snd-soc-s6ipcam-objs := s6105-ipcam.o
-
-obj-$(CONFIG_SND_S6000_SOC_S6IPCAM) += snd-soc-s6ipcam.o
sound/soc/s6000/s6000-i2s.c deleted +0 -617

617 lines not on this page · raw message

sound/soc/s6000/s6000-i2s.h deleted +0 -23
deleted file mode 100644
index 86aa192..0000000
@@ -1,23 +0,0 @@
-/*
- * ALSA SoC I2S Audio Layer for the Stretch s6000 family
- *
- * Author:      Daniel Gloeckner, <[email protected]>
- * Copyright:   (C) 2009 emlix GmbH <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef _S6000_I2S_H
-#define _S6000_I2S_H
-
-struct s6000_snd_platform_data {
-	int lines_in;
-	int lines_out;
-	int channel_in;
-	int channel_out;
-	int wide;
-	int same_rate;
-};
-#endif
sound/soc/s6000/s6000-pcm.c deleted +0 -521

521 lines not on this page · raw message

sound/soc/s6000/s6000-pcm.h deleted +0 -33
deleted file mode 100644
index 09d9b88..0000000
@@ -1,33 +0,0 @@
-/*
- * ALSA PCM interface for the Stretch s6000 family
- *
- * Author:      Daniel Gloeckner, <[email protected]>
- * Copyright:   (C) 2009 emlix GmbH <[email protected]>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- */
-
-#ifndef _S6000_PCM_H
-#define _S6000_PCM_H
-
-struct snd_soc_dai;
-struct snd_pcm_substream;
-
-struct s6000_pcm_dma_params {
-	unsigned int (*check_xrun)(struct snd_soc_dai *cpu_dai);
-	int (*trigger)(struct snd_pcm_substream *substream, int cmd, int after);
-	dma_addr_t sif_in;
-	dma_addr_t sif_out;
-	u32 dma_in;
-	u32 dma_out;
-	int irq;
-	int same_rate;
-
-	spinlock_t lock;
-	int in_use;
-	int rate;
-};
-
-#endif
sound/soc/s6000/s6105-ipcam.c deleted +0 -221

221 lines not on this page · raw message

Signature · 6 lines
2.1.2

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#0 lore raw

PATCH 1/1 xtensa: remove s6000 variant and s6105 platform

The Stretch s6000 family support has been merged into mainline 5 years ago. There appear to be no users of this code since nobody complained that there is a merge error preventing compilation.

Apart from the s6105 IP camera reference design there are no s6000 devices known to ever have run Linux and as the chips are out of production there probably never will be. The successor s7000 no longer uses an Xtensa core for the OS.

Let's remove the code until someone is found who actually needs it.

---
 arch/xtensa/Kconfig                                |  13 -
 arch/xtensa/Makefile                               |   1 -
 arch/xtensa/configs/iss_defconfig                  |   2 -
 arch/xtensa/configs/s6105_defconfig                | 615 ---------------------
 arch/xtensa/platforms/s6105/Makefile               |   3 -
 arch/xtensa/platforms/s6105/device.c               | 161 ------
 .../xtensa/platforms/s6105/include/platform/gpio.h |  27 -
 .../platforms/s6105/include/platform/hardware.h    |  11 -
 .../platforms/s6105/include/platform/serial.h      |   8 -
 arch/xtensa/platforms/s6105/setup.c                |  73 ---
 arch/xtensa/variants/s6000/Makefile                |   4 -
 arch/xtensa/variants/s6000/delay.c                 |  25 -
 arch/xtensa/variants/s6000/dmac.c                  | 173 ------
 arch/xtensa/variants/s6000/gpio.c                  | 230 --------
 arch/xtensa/variants/s6000/include/variant/core.h  | 431 ---------------
 arch/xtensa/variants/s6000/include/variant/dmac.h  | 387 -------------
 arch/xtensa/variants/s6000/include/variant/gpio.h  |   6 -
 .../variants/s6000/include/variant/hardware.h      | 259 ---------
 arch/xtensa/variants/s6000/include/variant/irq.h   |   8 -
 .../variants/s6000/include/variant/tie-asm.h       | 304 ----------
 arch/xtensa/variants/s6000/include/variant/tie.h   | 191 -------
 arch/xtensa/variants/s6000/irq.c                   |  74 ---
 22 files changed, 3006 deletions(-)
 delete mode 100644 arch/xtensa/configs/s6105_defconfig
 delete mode 100644 arch/xtensa/platforms/s6105/Makefile
 delete mode 100644 arch/xtensa/platforms/s6105/device.c
 delete mode 100644 arch/xtensa/platforms/s6105/include/platform/gpio.h
 delete mode 100644 arch/xtensa/platforms/s6105/include/platform/hardware.h
 delete mode 100644 arch/xtensa/platforms/s6105/include/platform/serial.h
 delete mode 100644 arch/xtensa/platforms/s6105/setup.c
 delete mode 100644 arch/xtensa/variants/s6000/Makefile
 delete mode 100644 arch/xtensa/variants/s6000/delay.c
 delete mode 100644 arch/xtensa/variants/s6000/dmac.c
 delete mode 100644 arch/xtensa/variants/s6000/gpio.c
 delete mode 100644 arch/xtensa/variants/s6000/include/variant/core.h
 delete mode 100644 arch/xtensa/variants/s6000/include/variant/dmac.h
 delete mode 100644 arch/xtensa/variants/s6000/include/variant/gpio.h
 delete mode 100644 arch/xtensa/variants/s6000/include/variant/hardware.h
 delete mode 100644 arch/xtensa/variants/s6000/include/variant/irq.h
 delete mode 100644 arch/xtensa/variants/s6000/include/variant/tie-asm.h
 delete mode 100644 arch/xtensa/variants/s6000/include/variant/tie.h
 delete mode 100644 arch/xtensa/variants/s6000/irq.c
arch/xtensa/Kconfig +0 -13
index 49c6c3d..2d4c95f 100644
@@ -98,12 +98,6 @@ config XTENSA_VARIANT_DC233C
 	help
 	  This variant refers to Tensilica's Diamond 233L Standard core Rev.C (LE).
 
-config XTENSA_VARIANT_S6000
-	bool "s6000 - Stretch software configurable processor"
-	select VARIANT_IRQ_SWITCH
-	select ARCH_REQUIRE_GPIOLIB
-	select XTENSA_CALIBRATE_CCOUNT
-
 config XTENSA_VARIANT_CUSTOM
 	bool "Custom Xtensa processor configuration"
 	select MAY_HAVE_SMP
@@ -126,7 +120,6 @@ config XTENSA_VARIANT_NAME
 	default "dc232b"			if XTENSA_VARIANT_DC232B
 	default "dc233c"			if XTENSA_VARIANT_DC233C
 	default "fsf"				if XTENSA_VARIANT_FSF
-	default "s6000"				if XTENSA_VARIANT_S6000
 	default XTENSA_VARIANT_CUSTOM_NAME	if XTENSA_VARIANT_CUSTOM
 
 config XTENSA_VARIANT_MMU
@@ -311,12 +304,6 @@ config XTENSA_PLATFORM_XT2000
 	  XT2000 is the name of Tensilica's feature-rich emulation platform.
 	  This hardware is capable of running a full Linux distribution.
 
-config XTENSA_PLATFORM_S6105
-	bool "S6105"
-	select HAVE_IDE
-	select SERIAL_CONSOLE
-	select NO_IOPORT_MAP
-
 config XTENSA_PLATFORM_XTFPGA
 	bool "XTFPGA"
 	select SERIAL_CONSOLE
arch/xtensa/Makefile +0 -1
index 4725330..f9e6a06 100644
@@ -35,7 +35,6 @@ endif
 
 platform-$(CONFIG_XTENSA_PLATFORM_XT2000)	:= xt2000
 platform-$(CONFIG_XTENSA_PLATFORM_ISS)		:= iss
-platform-$(CONFIG_XTENSA_PLATFORM_S6105)	:= s6105
 platform-$(CONFIG_XTENSA_PLATFORM_XTFPGA)	:= xtfpga
 
 PLATFORM = $(platform-y)
arch/xtensa/configs/iss_defconfig +0 -2
index b966baf..6a7593b 100644
@@ -143,7 +143,6 @@ CONFIG_MMU=y
 #
 CONFIG_XTENSA_VARIANT_FSF=y
 # CONFIG_XTENSA_VARIANT_DC232B is not set
-# CONFIG_XTENSA_VARIANT_S6000 is not set
 # CONFIG_XTENSA_UNALIGNED_USER is not set
 # CONFIG_PREEMPT is not set
 CONFIG_XTENSA_CALIBRATE_CCOUNT=y
@@ -161,7 +160,6 @@ CONFIG_XTENSA_ISS_NETWORK=y
 #
 CONFIG_XTENSA_PLATFORM_ISS=y
 # CONFIG_XTENSA_PLATFORM_XT2000 is not set
-# CONFIG_XTENSA_PLATFORM_S6105 is not set
 # CONFIG_GENERIC_CALIBRATE_DELAY is not set
 CONFIG_CMDLINE_BOOL=y
 CONFIG_CMDLINE="console=ttyS0,38400 eth0=tuntap,,tap0 ip=192.168.168.5:192.168.168.1 root=nfs nfsroot=192.168.168.1:/opt/montavista/pro/devkit/xtensa/linux_be/target"
arch/xtensa/configs/s6105_defconfig deleted +0 -615

615 lines not on this page · raw message

arch/xtensa/platforms/s6105/Makefile deleted +0 -3
deleted file mode 100644
index 0be6194..0000000
@@ -1,3 +0,0 @@
-# Makefile for the Stretch S6105 eval board
-
-obj-y		:= setup.o device.o
arch/xtensa/platforms/s6105/device.c deleted +0 -161

161 lines not on this page · raw message

arch/xtensa/platforms/s6105/include/platform/gpio.h deleted +0 -27
deleted file mode 100644
index fa11aa4..0000000
@@ -1,27 +0,0 @@
-#ifndef __ASM_XTENSA_S6105_GPIO_H
-#define __ASM_XTENSA_S6105_GPIO_H
-
-#define GPIO_BP_TEMP_ALARM	0
-#define GPIO_PB_RESET_IN	1
-#define GPIO_EXP_IRQ		2
-#define GPIO_TRIGGER_IRQ	3
-#define GPIO_RTC_IRQ		4
-#define GPIO_PHY_IRQ		5
-#define GPIO_IMAGER_RESET	6
-#define GPIO_SD_IRQ		7
-#define GPIO_MINI_BOOT_INH	8
-#define GPIO_BOARD_RESET	9
-#define GPIO_EXP_PRESENT	10
-#define GPIO_LED1_NGREEN	12
-#define GPIO_LED1_RED		13
-#define GPIO_LED0_NGREEN	14
-#define GPIO_LED0_NRED		15
-#define GPIO_SPI_CS0		16
-#define GPIO_SPI_CS1		17
-#define GPIO_SPI_CS3		19
-#define GPIO_SPI_CS4		20
-#define GPIO_SD_WP		21
-#define GPIO_BP_RESET		22
-#define GPIO_ALARM_OUT		23
-
-#endif /* __ASM_XTENSA_S6105_GPIO_H */
arch/xtensa/platforms/s6105/include/platform/hardware.h deleted +0 -11
deleted file mode 100644
index d628efa..0000000
@@ -1,11 +0,0 @@
-#ifndef __XTENSA_S6105_HARDWARE_H
-#define __XTENSA_S6105_HARDWARE_H
-
-#define PLATFORM_DEFAULT_MEM_START	0x40000000
-#define PLATFORM_DEFAULT_MEM_SIZE	0x08000000
-
-#define MAX_DMA_ADDRESS			0
-
-#define KERNELOFFSET			(PLATFORM_DEFAULT_MEM_START + 0x1000)
-
-#endif /* __XTENSA_S6105_HARDWARE_H */
arch/xtensa/platforms/s6105/include/platform/serial.h deleted +0 -8
deleted file mode 100644
index c8a771e..0000000
@@ -1,8 +0,0 @@
-#ifndef __ASM_XTENSA_S6105_SERIAL_H
-#define __ASM_XTENSA_S6105_SERIAL_H
-
-#include <variant/hardware.h>
-
-#define BASE_BAUD (S6_SCLK / 16)
-
-#endif /* __ASM_XTENSA_S6105_SERIAL_H */
arch/xtensa/platforms/s6105/setup.c deleted +0 -73

73 lines not on this page · raw message

arch/xtensa/variants/s6000/Makefile deleted +0 -4
deleted file mode 100644
index 3e7ef0a..0000000
@@ -1,4 +0,0 @@
-# s6000 Makefile
-
-obj-y		+= irq.o gpio.o dmac.o
-obj-$(CONFIG_XTENSA_CALIBRATE_CCOUNT)	+= delay.o
arch/xtensa/variants/s6000/delay.c deleted +0 -25
deleted file mode 100644
index 3915456..0000000
@@ -1,25 +0,0 @@
-#include <asm/timex.h>
-#include <asm/io.h>
-#include <variant/hardware.h>
-
-#define LOOPS 10
-void platform_calibrate_ccount(void)
-{
-	u32 uninitialized_var(a);
-	u32 uninitialized_var(u);
-	u32 b;
-	u32 tstamp = S6_REG_GREG1 + S6_GREG1_GLOBAL_TIMER;
-	int i = LOOPS+1;
-	do {
-		u32 t = u;
-		asm volatile(
-		"1:	l32i %0, %2, 0 ;"
-		"	beq %0, %1, 1b ;"
-		: "=&a"(u) : "a"(t), "a"(tstamp));
-		b = get_ccount();
-		if (i == LOOPS)
-			a = b;
-	} while (--i >= 0);
-	b -= a;
-	ccount_freq = b * (100000UL / LOOPS);
-}
arch/xtensa/variants/s6000/dmac.c deleted +0 -173

173 lines not on this page · raw message

arch/xtensa/variants/s6000/gpio.c deleted +0 -230

230 lines not on this page · raw message

arch/xtensa/variants/s6000/include/variant/core.h deleted +0 -431

431 lines not on this page · raw message

arch/xtensa/variants/s6000/include/variant/dmac.h deleted +0 -387

387 lines not on this page · raw message

arch/xtensa/variants/s6000/include/variant/gpio.h deleted +0 -6
deleted file mode 100644
index 8484ab0..0000000
@@ -1,6 +0,0 @@
-#ifndef _XTENSA_VARIANT_S6000_GPIO_H
-#define _XTENSA_VARIANT_S6000_GPIO_H
-
-extern int s6_gpio_init(u32 afsel);
-
-#endif /* _XTENSA_VARIANT_S6000_GPIO_H */
arch/xtensa/variants/s6000/include/variant/hardware.h deleted +0 -259

259 lines not on this page · raw message

arch/xtensa/variants/s6000/include/variant/irq.h deleted +0 -8
deleted file mode 100644
index 39ca751..0000000
@@ -1,8 +0,0 @@
-#ifndef _XTENSA_S6000_IRQ_H
-#define _XTENSA_S6000_IRQ_H
-
-#define VARIANT_NR_IRQS 8 /* GPIO interrupts */
-
-extern void variant_irq_enable(unsigned int irq);
-
-#endif /* __XTENSA_S6000_IRQ_H */
arch/xtensa/variants/s6000/include/variant/tie-asm.h deleted +0 -304

304 lines not on this page · raw message

arch/xtensa/variants/s6000/include/variant/tie.h deleted +0 -191

191 lines not on this page · raw message

arch/xtensa/variants/s6000/irq.c deleted +0 -74

32 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.1.2

Part of the diff is not shown here. View the raw message.

maintainer
#2 lore raw

Re: [PATCH] net: s6gmac: remove driver

In reply to Daniel Glöckner

From: Daniel Glöckner <[email protected]>
Date: Sun, 19 Oct 2014 00:49:05 +0200

Quoted 2 lines

The s6000 Xtensa support is removed from the kernel. There are no other chips using this driver.

That's not what I see in Linus's current tree:

[davem@localhost linux]$ git grep XTENSA_VARIANT_S6000 arch/xtensa/Kconfig:config XTENSA_VARIANT_S6000
arch/xtensa/Kconfig: default "s6000" if XTENSA_VARIANT_S6000

maintainer Applied
#11 lore raw
In reply to Daniel Glöckner
Quoted 4 lines · Daniel Glöckner

The Stretch s6000 family support has been merged into mainline 5 years ago. There appear to be no users of this code since nobody complained that there is a merge error preventing compilation.

Quoted 8 lines

Apart from the s6105 IP camera reference design there are no s6000 devices known to ever have run Linux and as the chips are out of production there probably never will be. The successor s7000 no longer uses an Xtensa core for the OS.

Let's remove the code until someone is found who actually needs it.

Applied to my fixes tree. Thanks!

-- Max

maintainer
#3 lore raw

Re: [PATCH] net: s6gmac: remove driver

In reply to David Miller
Quoted 7 lines · David Miller

From: Daniel Glöckner <[email protected]>
Date: Sun, 19 Oct 2014 00:49:05 +0200

Quoted 2 lines

The s6000 Xtensa support is removed from the kernel. There are no other chips using this driver.

That's not what I see in Linus's current tree:

David, s6000 removal is queued for 3.18.

Signature · 2 lines
Thanks.
-- Max
maintainer
#4 lore raw

Re: [PATCH] net: s6gmac: remove driver

From: Max Filippov <[email protected]>
Date: Sun, 19 Oct 2014 21:26:05 +0400

Quoted 10 lines · David Miller
Quoted 7 lines

From: Daniel Glöckner <[email protected]>
Date: Sun, 19 Oct 2014 00:49:05 +0200

Quoted 2 lines

The s6000 Xtensa support is removed from the kernel. There are no other chips using this driver.

That's not what I see in Linus's current tree:

David, s6000 removal is queued for 3.18.

Then there is zero reason for me to apply this to my networking tree.

maintainer Applied
#10 lore raw

Re: [PATCH] ASoC: s6000: remove driver

In reply to Daniel Glöckner
Quoted 2 lines · Daniel Glöckner

The s6000 Xtensa support is removed from the kernel. There are no other chips known to use this I2S controller.

Applied, thanks.

#5 lore raw

Re: [PATCH] net: s6gmac: remove driver

In reply to David Miller
Quoted 10 lines · David Miller

From: Max Filippov <[email protected]>
Date: Sun, 19 Oct 2014 21:26:05 +0400

Quoted 7 lines · David Miller
Quoted 6 lines

From: Daniel Glöckner <[email protected]>
Date: Sun, 19 Oct 2014 00:49:05 +0200

Quoted 2 lines

The s6000 Xtensa support is removed from the kernel. There are no other chips using this driver.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

That's not what I see in Linus's current tree:

David, s6000 removal is queued for 3.18.

Then there is zero reason for me to apply this to my networking tree.

Commit 4006e565e150 ("xtensa: remove s6000 variant and s6105 platform") is included in linux-next as of next-20141111. So now we see:

    $ git grep XTENSA_VARIANT_S6000 next-20141111
    next-20141111:drivers/net/ethernet/Kconfig:     depends on XTENSA_VARIANT_S6000

Should Daniel resubmit, for net-next, perhaps with a commit explanation that references this commit?

Paul Bolle

maintainer
#6 lore raw

Re: [PATCH] net: s6gmac: remove driver

From: Paul Bolle <[email protected]>
Date: Tue, 11 Nov 2014 09:32:22 +0100

Quoted 18 lines · David Miller
Quoted 10 lines

From: Max Filippov <[email protected]>
Date: Sun, 19 Oct 2014 21:26:05 +0400

Quoted 7 lines · David Miller
Quoted 6 lines

From: Daniel Glöckner <[email protected]>
Date: Sun, 19 Oct 2014 00:49:05 +0200

Quoted 2 lines

The s6000 Xtensa support is removed from the kernel. There are no other chips using this driver.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

That's not what I see in Linus's current tree:

David, s6000 removal is queued for 3.18.

Then there is zero reason for me to apply this to my networking tree.

Quoted 7 lines

Commit 4006e565e150 ("xtensa: remove s6000 variant and s6105 platform") is included in linux-next as of next-20141111. So now we see:

    $ git grep XTENSA_VARIANT_S6000 next-20141111
    next-20141111:drivers/net/ethernet/Kconfig:     depends on XTENSA_VARIANT_S6000

Should Daniel resubmit, for net-next, perhaps with a commit explanation that references this commit?

When the s6000 removal shows up in Linus's tree, submit it.

#7 lore raw

PATCH RESEND 1/1 net: s6gmac: remove driver

The s6000 Xtensa support has been removed from the kernel in 4006e565e1500db4. There are no other chips using this driver.

While the Mentor/Alcatel PE-MCXMAC IP core is also used in other designs (Freescale Gianfar/UCC, QLogic NetXen, Solarflare, Agere ET-1310, Netlogic XLR/XLS), none of these use this driver as it heavily depends on the s6000 DMA engine. In fact, there is no code sharing across any of the aforementioned devices.

---
 drivers/net/ethernet/Kconfig  |   12 -
 drivers/net/ethernet/Makefile |    1 -
 drivers/net/ethernet/s6gmac.c | 1058 -----------------------------------------
 3 files changed, 1071 deletions(-)
 delete mode 100644 drivers/net/ethernet/s6gmac.c
drivers/net/ethernet/Kconfig +0 -12
index df76050..eadcb05 100644
@@ -156,18 +156,6 @@ source "drivers/net/ethernet/realtek/Kconfig"
 source "drivers/net/ethernet/renesas/Kconfig"
 source "drivers/net/ethernet/rdc/Kconfig"
 source "drivers/net/ethernet/rocker/Kconfig"
-
-config S6GMAC
-	tristate "S6105 GMAC ethernet support"
-	depends on XTENSA_VARIANT_S6000
-	select PHYLIB
-	---help---
-	  This driver supports the on chip ethernet device on the
-	  S6105 xtensa processor.
-
-	  To compile this driver as a module, choose M here. The module
-	  will be called s6gmac.
-
 source "drivers/net/ethernet/samsung/Kconfig"
 source "drivers/net/ethernet/seeq/Kconfig"
 source "drivers/net/ethernet/silan/Kconfig"
drivers/net/ethernet/Makefile +0 -1
index bf56f8b..1367afc 100644
@@ -66,7 +66,6 @@ obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/
 obj-$(CONFIG_SH_ETH) += renesas/
 obj-$(CONFIG_NET_VENDOR_RDC) += rdc/
 obj-$(CONFIG_NET_VENDOR_ROCKER) += rocker/
-obj-$(CONFIG_S6GMAC) += s6gmac.o
 obj-$(CONFIG_NET_VENDOR_SAMSUNG) += samsung/
 obj-$(CONFIG_NET_VENDOR_SEEQ) += seeq/
 obj-$(CONFIG_NET_VENDOR_SILAN) += silan/
drivers/net/ethernet/s6gmac.c deleted +0 -1058

1,058 lines not on this page · raw message

Signature · 1 line
2.1.2
maintainer Applied
#8 lore raw

Re: [RESEND PATCH] net: s6gmac: remove driver

From: Daniel Glöckner <[email protected]>
Date: Sun, 21 Dec 2014 20:27:39 +0100

Quoted 10 lines

The s6000 Xtensa support has been removed from the kernel in 4006e565e1500db4. There are no other chips using this driver.

While the Mentor/Alcatel PE-MCXMAC IP core is also used in other designs (Freescale Gianfar/UCC, QLogic NetXen, Solarflare, Agere ET-1310, Netlogic XLR/XLS), none of these use this driver as it heavily depends on the s6000 DMA engine. In fact, there is no code sharing across any of the aforementioned devices.

Applied, thanks.