summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/video.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-06-26 10:53:57 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-06-26 11:02:31 -0700
commit2495fbf7effa6868f5d74124ae9b22a57980755b (patch)
tree25d6841b34eb0fbef8d8b1dbedeb89f0d2ec8e69 /arch/x86/boot/video.h
parent4075ea8c54a7506844a69f674990241e7766357b (diff)
downloadtalos-op-linux-2495fbf7effa6868f5d74124ae9b22a57980755b.tar.gz
talos-op-linux-2495fbf7effa6868f5d74124ae9b22a57980755b.zip
x86, setup: remove obsolete pre-Kconfig CONFIG_VIDEO_ variables
There were a set of pre-Kconfig configuration variables defined in the video code. There is absolutely no evidence that they have been tweaked by anybody in modern history, so just get rid of them and hope nobody notices. If someone does complain, these should be made real Kconfig variables. Reported-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/boot/video.h')
-rw-r--r--arch/x86/boot/video.h20
1 files changed, 2 insertions, 18 deletions
diff --git a/arch/x86/boot/video.h b/arch/x86/boot/video.h
index 5bb174a997fc..ff339c5db311 100644
--- a/arch/x86/boot/video.h
+++ b/arch/x86/boot/video.h
@@ -17,19 +17,8 @@
#include <linux/types.h>
-/* Enable autodetection of SVGA adapters and modes. */
-#undef CONFIG_VIDEO_SVGA
-
-/* Enable autodetection of VESA modes */
-#define CONFIG_VIDEO_VESA
-
-/* Retain screen contents when switching modes */
-#define CONFIG_VIDEO_RETAIN
-
-/* Force 400 scan lines for standard modes (hack to fix bad BIOS behaviour */
-#undef CONFIG_VIDEO_400_HACK
-
-/* This code uses an extended set of video mode numbers. These include:
+/*
+ * This code uses an extended set of video mode numbers. These include:
* Aliases for standard modes
* NORMAL_VGA (-1)
* EXTENDED_VGA (-2)
@@ -67,13 +56,8 @@
/* The "recalculate timings" flag */
#define VIDEO_RECALC 0x8000
-/* Define DO_STORE according to CONFIG_VIDEO_RETAIN */
-#ifdef CONFIG_VIDEO_RETAIN
void store_screen(void);
#define DO_STORE() store_screen()
-#else
-#define DO_STORE() ((void)0)
-#endif /* CONFIG_VIDEO_RETAIN */
/*
* Mode table structures
OpenPOWER on IntegriCloud