Skip to contentSkip to conversation

serial: Remove old SC26XX driver

PATCH RESEND Superseded Alexander Shiyan 3 participants 9 messages Dec 10, 2013 – Dec 19, 2013 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 serial: Remove old SC26XX driver

New driver for NXP (Philips) UART ICs was introduced in September 2012. Old driver no longer used anywhere, this patch removes it.

---
 drivers/tty/serial/Kconfig  |  18 --
 drivers/tty/serial/Makefile |   1 -
 drivers/tty/serial/sc26xx.c | 749 --------------------------------------------
 3 files changed, 768 deletions(-)
 delete mode 100644 drivers/tty/serial/sc26xx.c
drivers/tty/serial/Kconfig +0 -18
index a3817ab..7fbbbad 100644
@@ -1146,31 +1146,13 @@ config SERIAL_QE
 	  This driver supports the QE serial ports on Freescale embedded
 	  PowerPC that contain a QUICC Engine.
 
-config SERIAL_SC26XX
-	tristate "SC2681/SC2692 serial port support"
-	depends on SNI_RM
-	select SERIAL_CORE
-	help
-	  This is a driver for the onboard serial ports of
-	  older RM400 machines.
-
-config SERIAL_SC26XX_CONSOLE
-	bool "Console on SC2681/SC2692 serial port"
-	depends on SERIAL_SC26XX=y
-	select SERIAL_CORE_CONSOLE
-	help
-	  Support for Console on SC2681/SC2692 serial ports.
-
 config SERIAL_SCCNXP
 	tristate "SCCNXP serial port support"
-	depends on !SERIAL_SC26XX
 	select SERIAL_CORE
-	default n
 	help
 	  This selects support for an advanced UART from NXP (Philips).
 	  Supported ICs are SCC2681, SCC2691, SCC2692, SC28L91, SC28L92,
 	  SC28L202, SCC68681 and SCC68692.
-	  Positioned as a replacement for the driver SC26XX.
 
 config SERIAL_SCCNXP_CONSOLE
 	bool "Console on SCCNXP serial port"
drivers/tty/serial/Makefile +0 -1
index 3068c77..3680854 100644
@@ -47,7 +47,6 @@ obj-$(CONFIG_SERIAL_M32R_SIO) += m32r_sio.o
 obj-$(CONFIG_SERIAL_MPSC) += mpsc.o
 obj-$(CONFIG_SERIAL_SB1250_DUART) += sb1250-duart.o
 obj-$(CONFIG_ETRAX_SERIAL) += crisv10.o
-obj-$(CONFIG_SERIAL_SC26XX) += sc26xx.o
 obj-$(CONFIG_SERIAL_SCCNXP) += sccnxp.o
 obj-$(CONFIG_SERIAL_JSM) += jsm/
 obj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o
drivers/tty/serial/sc26xx.c deleted +0 -0
deleted file mode 100644
index 887b4f7..0000000
Signature · 1 line
1.8.3.2
#1 lore raw
Quoted 10 lines · Alexander Shiyan

New driver for NXP (Philips) UART ICs was introduced in September 2012. Old driver no longer used anywhere, this patch removes it.

---
 drivers/tty/serial/Kconfig  |  18 --
 drivers/tty/serial/Makefile |   1 -
 drivers/tty/serial/sc26xx.c | 749 --------------------------------------------
 3 files changed, 768 deletions(-)
 delete mode 100644 drivers/tty/serial/sc26xx.c

What kernel are you making this patch against? This still doesn't apply, and no one has touched this driver since 3.12-rc1 in my trees...

Please redo this patch against the latest kernel version so that it can be properly applied.

thanks,

greg k-h

#2 lore raw
Quoted 12 lines · Alexander Shiyan
Quoted 10 lines

New driver for NXP (Philips) UART ICs was introduced in September 2012. Old driver no longer used anywhere, this patch removes it.

---
 drivers/tty/serial/Kconfig  |  18 --
 drivers/tty/serial/Makefile |   1 -
 drivers/tty/serial/sc26xx.c | 749 --------------------------------------------
 3 files changed, 768 deletions(-)
 delete mode 100644 drivers/tty/serial/sc26xx.c
Quoted 5 lines

What kernel are you making this patch against? This still doesn't apply, and no one has touched this driver since 3.12-rc1 in my trees...

Please redo this patch against the latest kernel version so that it can be properly applied.

Exact as you asked before:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
tty-next branch

---

#3 lore raw
Quoted 15 lines · Alexander Shiyan
Quoted 15 lines · Alexander Shiyan
Quoted 10 lines

New driver for NXP (Philips) UART ICs was introduced in September 2012. Old driver no longer used anywhere, this patch removes it.

---
 drivers/tty/serial/Kconfig  |  18 --
 drivers/tty/serial/Makefile |   1 -
 drivers/tty/serial/sc26xx.c | 749 --------------------------------------------
 3 files changed, 768 deletions(-)
 delete mode 100644 drivers/tty/serial/sc26xx.c

What kernel are you making this patch against? This still doesn't apply, and no one has touched this driver since 3.12-rc1 in my trees...

Quoted 6 lines
Quoted 2 lines

Please redo this patch against the latest kernel version so that it can be properly applied.

Exact as you asked before:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
tty-next branch

Nope, fails to apply there :(

Care to try it again?

#4 lore raw
Quoted 18 lines
Quoted 18 lines
Quoted 17 lines · Alexander Shiyan
Quoted 10 lines

New driver for NXP (Philips) UART ICs was introduced in September 2012. Old driver no longer used anywhere, this patch removes it.

---
 drivers/tty/serial/Kconfig  |  18 --
 drivers/tty/serial/Makefile |   1 -
 drivers/tty/serial/sc26xx.c | 749 --------------------------------------------
 3 files changed, 768 deletions(-)
 delete mode 100644 drivers/tty/serial/sc26xx.c

What kernel are you making this patch against? This still doesn't apply, and no one has touched this driver since 3.12-rc1 in my trees...

Please redo this patch against the latest kernel version so that it can be properly applied.

Quoted 7 lines
Quoted 3 lines

Exact as you asked before:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
tty-next branch

Nope, fails to apply there :(

Care to try it again?

I suspect this will produce same result.
For me, first and second versions are identical and applied normal as to kernel/next, as to tty/tty-next. Something wrong, so I should find where my bug first.

---

#5 lore raw
In reply to Greg Kroah-Hartman
Quoted 15 lines
Quoted 15 lines
Quoted 15 lines · Alexander Shiyan
Quoted 10 lines

New driver for NXP (Philips) UART ICs was introduced in September 2012. Old driver no longer used anywhere, this patch removes it.

---
 drivers/tty/serial/Kconfig  |  18 --
 drivers/tty/serial/Makefile |   1 -
 drivers/tty/serial/sc26xx.c | 749 --------------------------------------------
 3 files changed, 768 deletions(-)
 delete mode 100644 drivers/tty/serial/sc26xx.c

What kernel are you making this patch against? This still doesn't apply, and no one has touched this driver since 3.12-rc1 in my trees...

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

Please redo this patch against the latest kernel version so that it can be properly applied.

Exact as you asked before:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
tty-next branch

Nope, fails to apply there :(

Can this problem be the result of a option "-D" for "git format-patch"?

---

#6 lore raw
Quoted 18 lines · Alexander Shiyan
Quoted 18 lines
Quoted 18 lines
Quoted 17 lines · Alexander Shiyan
Quoted 10 lines

New driver for NXP (Philips) UART ICs was introduced in September 2012. Old driver no longer used anywhere, this patch removes it.

---
 drivers/tty/serial/Kconfig  |  18 --
 drivers/tty/serial/Makefile |   1 -
 drivers/tty/serial/sc26xx.c | 749 --------------------------------------------
 3 files changed, 768 deletions(-)
 delete mode 100644 drivers/tty/serial/sc26xx.c

What kernel are you making this patch against? This still doesn't apply, and no one has touched this driver since 3.12-rc1 in my trees...

Please redo this patch against the latest kernel version so that it can be properly applied.

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Exact as you asked before:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
tty-next branch

Nope, fails to apply there :(

Can this problem be the result of a option "-D" for "git format-patch"?

I do not know, can you take your email from the mailing list and apply it properly to the tree using 'git am' or even 'patch -p1'? Both of those fail for me.

greg k-h

#7 lore raw
Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
Quoted 21 lines
Quoted 12 lines · Alexander Shiyan
Quoted 10 lines

New driver for NXP (Philips) UART ICs was introduced in September 2012. Old driver no longer used anywhere, this patch removes it.

---
 drivers/tty/serial/Kconfig  |  18 --
 drivers/tty/serial/Makefile |   1 -
 drivers/tty/serial/sc26xx.c | 749 --------------------------------------------
 3 files changed, 768 deletions(-)
 delete mode 100644 drivers/tty/serial/sc26xx.c
Quoted 5 lines

What kernel are you making this patch against? This still doesn't apply, and no one has touched this driver since 3.12-rc1 in my trees...

Please redo this patch against the latest kernel version so that it can be properly applied.

Exact as you asked before:
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git
tty-next branch

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Nope, fails to apply there :(

Can this problem be the result of a option "-D" for "git format-patch"?

I do not know, can you take your email from the mailing list and apply it properly to the tree using 'git am' or even 'patch -p1'? Both of those fail for me.

OK for me, except removing file.
Lets try to apply version without "-D" option. I'll resend it shortly.

---

#8 lore raw

On Thu, Dec 19, 2013 at 3:00 PM, Alexander Shiyan <[email protected]> wrote:

[...]

Quoted 2 lines

OK for me, except removing file.
Lets try to apply version without "-D" option. I'll resend it shortly.

Yes, the unconditional delete is a win for review, but git-am does not like it. I proposed a patch to fix this some months ago; I should try and re-push it, since for mailing list reviews, it is a valuable option.

Paul.
--