]> git.hungrycats.org Git - linux/commit
console: mdacon: remove this obsolete driver
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Wed, 20 May 2026 03:31:36 +0000 (20:31 -0700)
committerHelge Deller <deller@gmx.de>
Wed, 20 May 2026 18:23:32 +0000 (20:23 +0200)
commite38b27199e0f5b530fd2b033e3b63241a0b16596
treebd2d7f63a9e4b4b6c21283b768c8c917537a212f
parent37a91b995952a556a6eb90c31736ee773b86999c
console: mdacon: remove this obsolete driver

The mdacon driver supports using ISA MDA or Hercules-compatible display
adapters as a secondary text console. This was commonly used in the
1990s and earlier for debugging software which took over the primary
display. It is highly unlikely anyone is doing so nowadays because
serial consoles and much better methods of debugging exist.

The driver is not enabled by any defconfig, nor any of the
dozens of distro configs collected at [1]. It has been relegated to VTs
13-16 since commit 0b9cf3aa6b1e ("mdacon messing up default vc's - set
default to vc13-16 again") in Linux 2.6.27 (and before Linux 2.5.53 -
see the link in the message of the above commit). The change in 2.6.27
was done because it was incorrectly detecting non-MDA adapters as MDA
and taking over all VTs, rendering them unusable.

Furthermore, vgacon supports using MDA/Hercules-compatible adapters as
the primary text console, so any systems with only one of these
adapters were already using vgacon and will not experience any loss in
functionality from the removal of this driver.

Given all of these factors, the mdacon driver is likely entirely
unused. Remove it.

[1] https://github.com/nyrahul/linux-kernel-configs/tree/f0bee86a135a0406ea427855f52702dd00d770f9

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Documentation/admin-guide/kernel-parameters.txt
arch/alpha/kernel/io.c
arch/powerpc/include/asm/vga.h
drivers/tty/vt/vt.c
drivers/video/console/Kconfig
drivers/video/console/Makefile
drivers/video/console/mdacon.c [deleted file]
include/linux/console.h
include/linux/vt_buffer.h