Skip to content

Commit 8356f45

Browse files
arndbgregkh
authored andcommitted
mdacon: rework dependency list
[ Upstream commit 5bbcc76 ] 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: 0b9cf3a ("mdacon messing up default vc's - set default to vc13-16 again") Signed-off-by: Arnd Bergmann <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Signed-off-by: Helge Deller <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent d3ea050 commit 8356f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/video/console/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ config VGA_CONSOLE
2424
Say Y.
2525

2626
config MDA_CONSOLE
27-
depends on !M68K && !PARISC && ISA
27+
depends on VGA_CONSOLE && ISA
2828
tristate "MDA text console (dual-headed)"
2929
help
3030
Say Y here if you have an old MDA or monochrome Hercules graphics

0 commit comments

Comments
 (0)