linux/drivers/video/console
Arnd Bergmann 7dc76ac3eb mdacon: rework dependency list
[ Upstream commit 5bbcc7645f ]

mdacon has roughly the same dependencies as vgacon but expresses them
as a negative list instead of a positive list, with the only practical
difference being PowerPC/CHRP, which uses vga16fb instead of vgacon.

The CONFIG_MDA_CONSOLE description advises to only turn it on when vgacon
is also used because MDA/Hercules-only systems should be using vgacon
instead, so just change the list to enforce that directly for simplicity.

The probing was broken from 2002 to 2008, this improves on the fix
that was added then: If vgacon is a loadable module, then mdacon
cannot be built-in now, and the list of systems that support vgacon
is carried over.

Fixes: 0b9cf3aa6b ("mdacon messing up default vc's - set default to vc13-16 again")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-04-10 14:31:59 +02:00
..
dummycon.c console: Delete dummy con_font_set() and con_font_default() callback implementations 2020-11-16 16:31:09 +01:00
Kconfig mdacon: rework dependency list 2025-04-10 14:31:59 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mdacon.c vt: use newly defined CUR_* macros 2020-06-24 17:08:33 +02:00
newport_con.c TTY/Serial patches for 5.10-rc1 2020-10-14 16:05:52 -07:00
sticon.c parisc/stifb: Keep track of hardware path of graphics card 2022-06-09 10:22:26 +02:00
sticore.c parisc/stifb: Fix fb_is_primary_device() only available with CONFIG_FB_STI 2022-06-29 09:03:29 +02:00
vgacon.c vgacon: Propagate console boot parameters before calling `vc_resize' 2021-12-08 09:04:55 +01:00