tty: synclink_gt: remove broken driver
Subsystems (6)
PATCH v3 1/1 tty: synclink_gt: remove broken driver
The synclink_gt driver was marked as broken in commit 426263d5fb40 ("tty: synclink_gt: mark as BROKEN") in July 2023 because it had severe structural problems and there had been no evidence of users since 2016. Since then, no meaningful improvements have been made to the driver, and it is unlikely that will ever happen due to the lack of interest. Drop the driver and references to it in comments and documentation. include/uapi/linux/synclink.h is also removed. The only use of this header I have found is the linux-raw-sys Rust crate. It generates bindings for all UAPI headers, but has a hardcoded list of headers and ioctls, including this one, so that does not indicate that anyone is using it. I have sent a pull request to remove the include and ioctl definitions for this header (see the link below).
---
Changes from v2:
Remove UAPI header - I have sent a pull request to remove it from linux-raw-sys
.../userspace-api/ioctl/ioctl-number.rst | 1 - arch/powerpc/configs/ppc6xx_defconfig | 1 - drivers/net/ppp/Kconfig | 4 +- drivers/tty/Kconfig | 11 +- drivers/tty/Makefile | 1 - drivers/tty/n_hdlc.c | 7 - drivers/tty/synclink_gt.c | 5038 ----------------- include/linux/synclink.h | 37 - include/uapi/linux/synclink.h | 301 - 9 files changed, 3 insertions(+), 5398 deletions(-) delete mode 100644 drivers/tty/synclink_gt.c delete mode 100644 include/linux/synclink.h delete mode 100644 include/uapi/linux/synclink.h
Documentation/userspace-api/ioctl/ioctl-number.rst +0 -1
@@ -271,7 +271,6 @@ Code Seq# Include File Comments 'm' 00-09 linux/mmtimer.h conflict! 'm' all linux/mtio.h conflict! 'm' all linux/soundcard.h conflict! -'m' all linux/synclink.h conflict! 'm' 00-19 drivers/message/fusion/mptctl.h conflict! 'm' 00 drivers/scsi/megaraid/megaraid_ioctl.h conflict! 'n' 00-7F linux/ncp_fs.h and fs/ncpfs/ioctl.c
arch/powerpc/configs/ppc6xx_defconfig +0 -1
@@ -551,7 +551,6 @@ CONFIG_GAMEPORT_EMU10K1=m CONFIG_GAMEPORT_FM801=m # CONFIG_LEGACY_PTYS is not set CONFIG_SERIAL_NONSTANDARD=y -CONFIG_SYNCLINK_GT=m CONFIG_NOZOMI=m CONFIG_N_HDLC=m CONFIG_SERIAL_8250=y
drivers/net/ppp/Kconfig +2 -2
@@ -191,8 +191,8 @@ config PPP_SYNC_TTY tristate "PPP support for sync tty ports" help Say Y (or M) here if you want to be able to use PPP over synchronous - (HDLC) tty devices, such as the SyncLink adapter. These devices - are often used for high-speed leased lines like T1/E1. + (HDLC) tty devices. These devices are often used for high-speed leased + lines like T1/E1. To compile this driver as a module, choose M here.
drivers/tty/Kconfig +1 -10
@@ -231,21 +231,12 @@ config MOXA_SMARTIO This driver can also be built as a module. The module will be called mxser. If you want to do that, say M here. -config SYNCLINK_GT - tristate "SyncLink GT/AC support" - depends on SERIAL_NONSTANDARD && PCI - depends on BROKEN - help - Support for SyncLink GT and SyncLink AC families of - synchronous and asynchronous serial adapters - manufactured by Microgate Systems, Ltd. (www.microgate.com) - config N_HDLC tristate "HDLC line discipline support" depends on SERIAL_NONSTANDARD help Allows synchronous HDLC communications with tty device drivers that - support synchronous HDLC such as the Microgate SyncLink adapter. + support synchronous HDLC. This driver can be built as a module ( = code which can be inserted in and removed from the running kernel whenever you want).
drivers/tty/Makefile +0 -1
@@ -21,7 +21,6 @@ obj-$(CONFIG_MOXA_INTELLIO) += moxa.o obj-$(CONFIG_MOXA_SMARTIO) += mxser.o obj-$(CONFIG_NOZOMI) += nozomi.o obj-$(CONFIG_NULL_TTY) += ttynull.o -obj-$(CONFIG_SYNCLINK_GT) += synclink_gt.o obj-$(CONFIG_PPC_EPAPR_HV_BYTECHAN) += ehv_bytechan.o obj-$(CONFIG_GOLDFISH_TTY) += goldfish.o obj-$(CONFIG_MIPS_EJTAG_FDC_TTY) += mips_ejtag_fdc.o
drivers/tty/n_hdlc.c +0 -7
@@ -4,8 +4,6 @@* Written by Paul Fulghum [email protected] * for Microgate Corporation * -* Microgate and SyncLink are registered trademarks of Microgate Corporation -* * Adapted from ppp.c, written by Michael Callahan <[email protected]>, * Al Longyear <[email protected]>, * Paul Mackerras <[email protected]>
@@ -54,11 +52,6 @@* this line discipline (or another line discipline that is frame * oriented such as N_PPP). * -* The SyncLink driver (synclink.c) implements both asynchronous -* (using standard line discipline N_TTY) and synchronous HDLC -* (using N_HDLC) communications, with the latter using the above -* conventions. -* * This implementation is very basic and does not maintain * any statistics. The main point is to enforce the raw data * and frame orientation of HDLC communications.
drivers/tty/synclink_gt.c deleted +0 -5038
2,928 lines not on this page · raw message
include/uapi/linux/synclink.h deleted +0 -301
301 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.43.0
Part of the diff is not shown here. View the raw message.
Quoted 1 line · On Sun, 3 May 2026 20:14:53 -0700 Ethan Nelson-Moore wrote:
drivers/net/ppp/Kconfig | 4 +-