]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mdacon: rework dependency list
authorArnd Bergmann <arnd@arndb.de>
Tue, 25 Feb 2025 16:44:23 +0000 (17:44 +0100)
committerHelge Deller <deller@gmx.de>
Wed, 26 Mar 2025 21:39:20 +0000 (22:39 +0100)
commit5bbcc7645f4b244ffb5ac6563fbe9d3d42194447
treee4c2cdf75de49b46fd64f45917c8e33c31f0ea0d
parentbeefaba1978c04ea2950d34236f58fe6cf6a7f58
mdacon: rework dependency list

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: 0b9cf3aa6b1e ("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>
drivers/video/console/Kconfig