Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Arnd Bergmann and committed by
Helge Deller
5bbcc764 beefaba1

+1 -1
+1 -1
drivers/video/console/Kconfig
··· 24 24 Say Y. 25 25 26 26 config MDA_CONSOLE 27 - depends on !M68K && !PARISC && ISA 27 + depends on VGA_CONSOLE && ISA 28 28 tristate "MDA text console (dual-headed)" 29 29 help 30 30 Say Y here if you have an old MDA or monochrome Hercules graphics