diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-12-23 00:03:47 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-12-23 02:09:54 -0500 |
commit | 0b57ee9e55373a27e45549e82b0c43621480a71b (patch) | |
tree | 03c584b93e9323d5057fdd482c6cb5c9a3e1d651 /drivers/video | |
parent | 14904398e5b573d13f8c8dbd43a452ff34c0efc2 (diff) |
[SPARC]: introduce a SPARC Kconfig symbol
Introduce a Kconfig symbol SPARC that is defined on both the sparc and
sparc64 architectures.
This symbol makes some dependencies more readable.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/Kconfig | 10 | ||||
-rw-r--r-- | drivers/video/console/Kconfig | 20 | ||||
-rw-r--r-- | drivers/video/logo/Kconfig | 2 |
3 files changed, 16 insertions, 16 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 3e470c8b4193..cc8e3bf5001b 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig | |||
@@ -536,13 +536,13 @@ config FB_SUN3 | |||
536 | 536 | ||
537 | config FB_SBUS | 537 | config FB_SBUS |
538 | bool "SBUS and UPA framebuffers" | 538 | bool "SBUS and UPA framebuffers" |
539 | depends on (FB = y) && (SPARC32 || SPARC64) | 539 | depends on (FB = y) && SPARC |
540 | help | 540 | help |
541 | Say Y if you want support for SBUS or UPA based frame buffer device. | 541 | Say Y if you want support for SBUS or UPA based frame buffer device. |
542 | 542 | ||
543 | config FB_BW2 | 543 | config FB_BW2 |
544 | bool "BWtwo support" | 544 | bool "BWtwo support" |
545 | depends on (FB = y) && ((SPARC32 || SPARC64) && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3) | 545 | depends on (FB = y) && (SPARC && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3) |
546 | select FB_CFB_FILLRECT | 546 | select FB_CFB_FILLRECT |
547 | select FB_CFB_COPYAREA | 547 | select FB_CFB_COPYAREA |
548 | select FB_CFB_IMAGEBLIT | 548 | select FB_CFB_IMAGEBLIT |
@@ -551,7 +551,7 @@ config FB_BW2 | |||
551 | 551 | ||
552 | config FB_CG3 | 552 | config FB_CG3 |
553 | bool "CGthree support" | 553 | bool "CGthree support" |
554 | depends on (FB = y) && ((SPARC32 || SPARC64) && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3) | 554 | depends on (FB = y) && (SPARC && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3) |
555 | select FB_CFB_FILLRECT | 555 | select FB_CFB_FILLRECT |
556 | select FB_CFB_COPYAREA | 556 | select FB_CFB_COPYAREA |
557 | select FB_CFB_IMAGEBLIT | 557 | select FB_CFB_IMAGEBLIT |
@@ -560,7 +560,7 @@ config FB_CG3 | |||
560 | 560 | ||
561 | config FB_CG6 | 561 | config FB_CG6 |
562 | bool "CGsix (GX,TurboGX) support" | 562 | bool "CGsix (GX,TurboGX) support" |
563 | depends on (FB = y) && ((SPARC32 || SPARC64) && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3) | 563 | depends on (FB = y) && (SPARC && FB_SBUS || (SUN3 || SUN3X) && FB_SUN3) |
564 | select FB_CFB_COPYAREA | 564 | select FB_CFB_COPYAREA |
565 | select FB_CFB_IMAGEBLIT | 565 | select FB_CFB_IMAGEBLIT |
566 | help | 566 | help |
@@ -1268,7 +1268,7 @@ config FB_LEO | |||
1268 | 1268 | ||
1269 | config FB_PCI | 1269 | config FB_PCI |
1270 | bool "PCI framebuffers" | 1270 | bool "PCI framebuffers" |
1271 | depends on (FB = y) && PCI && (SPARC64 || SPARC32) | 1271 | depends on (FB = y) && PCI && SPARC |
1272 | 1272 | ||
1273 | config FB_IGA | 1273 | config FB_IGA |
1274 | bool "IGA 168x display support" | 1274 | bool "IGA 168x display support" |
diff --git a/drivers/video/console/Kconfig b/drivers/video/console/Kconfig index 5f74df993406..a5d09e159cd1 100644 --- a/drivers/video/console/Kconfig +++ b/drivers/video/console/Kconfig | |||
@@ -6,7 +6,7 @@ menu "Console display driver support" | |||
6 | 6 | ||
7 | config VGA_CONSOLE | 7 | config VGA_CONSOLE |
8 | bool "VGA text console" if EMBEDDED || !X86 | 8 | bool "VGA text console" if EMBEDDED || !X86 |
9 | depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC32 && !SPARC64 && !M68K && !PARISC && !ARCH_VERSATILE | 9 | depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC && !M68K && !PARISC && !ARCH_VERSATILE |
10 | default y | 10 | default y |
11 | help | 11 | help |
12 | Saying Y here will allow you to use Linux in text mode through a | 12 | Saying Y here will allow you to use Linux in text mode through a |
@@ -68,7 +68,7 @@ config SGI_NEWPORT_CONSOLE | |||
68 | 68 | ||
69 | config PROM_CONSOLE | 69 | config PROM_CONSOLE |
70 | bool "PROM console" | 70 | bool "PROM console" |
71 | depends on SPARC32 || SPARC64 | 71 | depends on SPARC |
72 | help | 72 | help |
73 | Say Y to build a console driver for Sun machines that uses the | 73 | Say Y to build a console driver for Sun machines that uses the |
74 | terminal emulation built into their console PROMS. | 74 | terminal emulation built into their console PROMS. |
@@ -136,7 +136,7 @@ config FONTS | |||
136 | config FONT_8x8 | 136 | config FONT_8x8 |
137 | bool "VGA 8x8 font" if FONTS | 137 | bool "VGA 8x8 font" if FONTS |
138 | depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE | 138 | depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE |
139 | default y if !SPARC32 && !SPARC64 && !FONTS | 139 | default y if !SPARC && !FONTS |
140 | help | 140 | help |
141 | This is the "high resolution" font for the VGA frame buffer (the one | 141 | This is the "high resolution" font for the VGA frame buffer (the one |
142 | provided by the text console 80x50 (and higher) modes). | 142 | provided by the text console 80x50 (and higher) modes). |
@@ -150,7 +150,7 @@ config FONT_8x8 | |||
150 | config FONT_8x16 | 150 | config FONT_8x16 |
151 | bool "VGA 8x16 font" if FONTS | 151 | bool "VGA 8x16 font" if FONTS |
152 | depends on FRAMEBUFFER_CONSOLE || SGI_NEWPORT_CONSOLE=y || STI_CONSOLE || USB_SISUSBVGA_CON | 152 | depends on FRAMEBUFFER_CONSOLE || SGI_NEWPORT_CONSOLE=y || STI_CONSOLE || USB_SISUSBVGA_CON |
153 | default y if !SPARC32 && !SPARC64 && !FONTS | 153 | default y if !SPARC && !FONTS |
154 | help | 154 | help |
155 | This is the "high resolution" font for the VGA frame buffer (the one | 155 | This is the "high resolution" font for the VGA frame buffer (the one |
156 | provided by the VGA text console 80x25 mode. | 156 | provided by the VGA text console 80x25 mode. |
@@ -160,7 +160,7 @@ config FONT_8x16 | |||
160 | config FONT_6x11 | 160 | config FONT_6x11 |
161 | bool "Mac console 6x11 font (not supported by all drivers)" if FONTS | 161 | bool "Mac console 6x11 font (not supported by all drivers)" if FONTS |
162 | depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE | 162 | depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE |
163 | default y if !SPARC32 && !SPARC64 && !FONTS && MAC | 163 | default y if !SPARC && !FONTS && MAC |
164 | help | 164 | help |
165 | Small console font with Macintosh-style high-half glyphs. Some Mac | 165 | Small console font with Macintosh-style high-half glyphs. Some Mac |
166 | framebuffer drivers don't support this one at all. | 166 | framebuffer drivers don't support this one at all. |
@@ -176,7 +176,7 @@ config FONT_7x14 | |||
176 | config FONT_PEARL_8x8 | 176 | config FONT_PEARL_8x8 |
177 | bool "Pearl (old m68k) console 8x8 font" if FONTS | 177 | bool "Pearl (old m68k) console 8x8 font" if FONTS |
178 | depends on FRAMEBUFFER_CONSOLE | 178 | depends on FRAMEBUFFER_CONSOLE |
179 | default y if !SPARC32 && !SPARC64 && !FONTS && AMIGA | 179 | default y if !SPARC && !FONTS && AMIGA |
180 | help | 180 | help |
181 | Small console font with PC-style control-character and high-half | 181 | Small console font with PC-style control-character and high-half |
182 | glyphs. | 182 | glyphs. |
@@ -184,24 +184,24 @@ config FONT_PEARL_8x8 | |||
184 | config FONT_ACORN_8x8 | 184 | config FONT_ACORN_8x8 |
185 | bool "Acorn console 8x8 font" if FONTS | 185 | bool "Acorn console 8x8 font" if FONTS |
186 | depends on FRAMEBUFFER_CONSOLE | 186 | depends on FRAMEBUFFER_CONSOLE |
187 | default y if !SPARC32 && !SPARC64 && !FONTS && ARM && ARCH_ACORN | 187 | default y if !SPARC && !FONTS && ARM && ARCH_ACORN |
188 | help | 188 | help |
189 | Small console font with PC-style control characters and high-half | 189 | Small console font with PC-style control characters and high-half |
190 | glyphs. | 190 | glyphs. |
191 | 191 | ||
192 | config FONT_MINI_4x6 | 192 | config FONT_MINI_4x6 |
193 | bool "Mini 4x6 font" | 193 | bool "Mini 4x6 font" |
194 | depends on !SPARC32 && !SPARC64 && FONTS | 194 | depends on !SPARC && FONTS |
195 | 195 | ||
196 | config FONT_SUN8x16 | 196 | config FONT_SUN8x16 |
197 | bool "Sparc console 8x16 font" | 197 | bool "Sparc console 8x16 font" |
198 | depends on FRAMEBUFFER_CONSOLE && (!SPARC32 && !SPARC64 && FONTS || SPARC32 || SPARC64) | 198 | depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC) |
199 | help | 199 | help |
200 | This is the high resolution console font for Sun machines. Say Y. | 200 | This is the high resolution console font for Sun machines. Say Y. |
201 | 201 | ||
202 | config FONT_SUN12x22 | 202 | config FONT_SUN12x22 |
203 | bool "Sparc console 12x22 font (not supported by all drivers)" | 203 | bool "Sparc console 12x22 font (not supported by all drivers)" |
204 | depends on FRAMEBUFFER_CONSOLE && (!SPARC32 && !SPARC64 && FONTS || SPARC32 || SPARC64) | 204 | depends on FRAMEBUFFER_CONSOLE && (!SPARC && FONTS || SPARC) |
205 | help | 205 | help |
206 | This is the high resolution console font for Sun machines with very | 206 | This is the high resolution console font for Sun machines with very |
207 | big letters (like the letters used in the SPARC PROM). If the | 207 | big letters (like the letters used in the SPARC PROM). If the |
diff --git a/drivers/video/logo/Kconfig b/drivers/video/logo/Kconfig index 8cb7fb4db441..f0e6512c87ff 100644 --- a/drivers/video/logo/Kconfig +++ b/drivers/video/logo/Kconfig | |||
@@ -47,7 +47,7 @@ config LOGO_SGI_CLUT224 | |||
47 | 47 | ||
48 | config LOGO_SUN_CLUT224 | 48 | config LOGO_SUN_CLUT224 |
49 | bool "224-color Sun Linux logo" | 49 | bool "224-color Sun Linux logo" |
50 | depends on LOGO && (SPARC32 || SPARC64) | 50 | depends on LOGO && SPARC |
51 | default y | 51 | default y |
52 | 52 | ||
53 | config LOGO_SUPERH_MONO | 53 | config LOGO_SUPERH_MONO |