1#
2# Video configuration
3#
4
5mainmenu_option next_comment
6comment 'Frame-buffer support'
7
8bool 'Support for frame buffer devices (EXPERIMENTAL)' CONFIG_FB
9
10if [ "$CONFIG_FB" = "y" ]; then
11   define_bool CONFIG_DUMMY_CONSOLE y
12   if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
13      if [ "$CONFIG_PCI" = "y" ]; then
14         tristate '  nVidia Riva support (EXPERIMENTAL)' CONFIG_FB_RIVA
15      fi
16      if [ "$CONFIG_AMIGA" = "y" -o "$CONFIG_PCI" = "y" ]; then
17	 tristate '  Cirrus Logic support (EXPERIMENTAL)' CONFIG_FB_CLGEN
18	 tristate '  Permedia2 support (EXPERIMENTAL)' CONFIG_FB_PM2
19	 if [ "$CONFIG_FB_PM2" = "y" -o "$CONFIG_FB_PM2" = "m" ]; then
20	    if [ "$CONFIG_PCI" = "y" ]; then
21	       bool '    enable FIFO disconnect feature' CONFIG_FB_PM2_FIFO_DISCONNECT
22	       bool '    generic Permedia2 PCI board support' CONFIG_FB_PM2_PCI
23	    fi
24	    if [ "$CONFIG_AMIGA" = "y" ]; then
25	       bool '    Phase5 CVisionPPC/BVisionPPC support' CONFIG_FB_PM2_CVPPC
26	    fi
27	 fi
28      fi
29      if [ "$CONFIG_PCI" = "y" ]; then
30         tristate '  Permedia3 support (EXPERIMENTAL)' CONFIG_FB_PM3
31      fi
32   fi
33   if [ "$CONFIG_ARCH_ACORN" = "y" ]; then
34      bool '  Acorn VIDC support' CONFIG_FB_ACORN
35   fi
36   dep_tristate '  Cyber2000 support' CONFIG_FB_CYBER2000 $CONFIG_PCI
37   if [ "$CONFIG_ARCH_SA1100" = "y" ]; then
38      bool '  SA-1100 LCD support' CONFIG_FB_SA1100
39   fi
40   if [ "$CONFIG_APOLLO" = "y" ]; then
41      define_bool CONFIG_FB_APOLLO y
42   fi
43   if [ "$CONFIG_Q40" = "y" ]; then
44      define_bool CONFIG_FB_Q40 y
45   fi
46   if [ "$CONFIG_AMIGA" = "y" ]; then
47      tristate '  Amiga native chipset support' CONFIG_FB_AMIGA
48      if [ "$CONFIG_FB_AMIGA" != "n" ]; then
49	 bool '    Amiga OCS chipset support' CONFIG_FB_AMIGA_OCS
50	 bool '    Amiga ECS chipset support' CONFIG_FB_AMIGA_ECS
51	 bool '    Amiga AGA chipset support' CONFIG_FB_AMIGA_AGA
52      fi
53   fi
54   if [ "$CONFIG_ZORRO" = "y" ]; then
55      tristate '  Amiga CyberVision support' CONFIG_FB_CYBER
56      if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
57	 bool '  Amiga CyberVision3D support (EXPERIMENTAL)' CONFIG_FB_VIRGE
58	 tristate '  Amiga RetinaZ3 support (EXPERIMENTAL)' CONFIG_FB_RETINAZ3
59	 bool '  Amiga FrameMaster II/Rainbow II support (EXPERIMENTAL)' CONFIG_FB_FM2
60      fi
61   fi
62   if [ "$CONFIG_ATARI" = "y" ]; then
63      bool '  Atari native chipset support' CONFIG_FB_ATARI
64      tristate '  ATI Mach64 display support' CONFIG_FB_ATY
65      if [ "$CONFIG_FB_ATY" != "n" ]; then
66	 define_bool CONFIG_FB_ATY_GX y
67      fi
68   fi
69   if [ "$CONFIG_PPC" = "y" ]; then
70      dep_bool '  Open Firmware frame buffer device support' CONFIG_FB_OF $CONFIG_ALL_PPC
71      dep_bool '  Apple "control" display support' CONFIG_FB_CONTROL $CONFIG_ALL_PPC
72      dep_bool '  Apple "platinum" display support' CONFIG_FB_PLATINUM $CONFIG_ALL_PPC
73      dep_bool '  Apple "valkyrie" display support' CONFIG_FB_VALKYRIE $CONFIG_ALL_PPC
74      bool '  Chips 65550 display support' CONFIG_FB_CT65550
75      bool '  IMS Twin Turbo display support' CONFIG_FB_IMSTT
76      bool '  S3 Trio display support' CONFIG_FB_S3TRIO
77      tristate '  VGA 16-color graphics console' CONFIG_FB_VGA16
78   fi
79   if [ "$CONFIG_PARISC" = "y" ]; then
80      bool '  Generic STI frame buffer device support' CONFIG_FB_STI
81   fi
82   if [ "$CONFIG_MAC" = "y" ]; then
83      bool '  Generic Macintosh display support' CONFIG_FB_MAC
84      bool '  Apple "valkyrie" display support' CONFIG_FB_VALKYRIE
85#      bool '  Apple DAFB display support' CONFIG_FB_DAFB
86   fi
87   if [ "$CONFIG_HP300" = "y" ]; then
88      define_bool CONFIG_FB_HP300 y
89   fi
90   if [ "$ARCH" = "alpha" ]; then
91      tristate '  TGA framebuffer support' CONFIG_FB_TGA
92   fi
93   if [ "$CONFIG_X86" = "y" ]; then
94      bool '  VESA VGA graphics console' CONFIG_FB_VESA
95      tristate '  VGA 16-color graphics console' CONFIG_FB_VGA16
96      tristate '  Hercules mono graphics console (EXPERIMENTAL)' CONFIG_FB_HGA
97      define_bool CONFIG_VIDEO_SELECT y
98   fi
99   if [ "$CONFIG_IA64" = "y" ]; then
100      tristate '  VGA 16-color graphics console' CONFIG_FB_VGA16
101   fi
102   if [ "$CONFIG_VISWS" = "y" ]; then
103      tristate '  SGI Visual Workstation framebuffer support' CONFIG_FB_SGIVW
104      define_bool CONFIG_BUS_I2C y
105   fi
106   if [ "$CONFIG_SUN3" = "y" -o "$CONFIG_SUN3X" = "y" ]; then
107      bool '  Sun3 framebuffer support' CONFIG_FB_SUN3
108      if [ "$CONFIG_FB_SUN3" != "n" ]; then
109         bool '    BWtwo support' CONFIG_FB_BWTWO
110         bool '    CGsix (GX,TurboGX) support' CONFIG_FB_CGSIX
111      fi
112   fi
113   if [ "$CONFIG_SH_DREAMCAST" = "y" ]; then
114      tristate '  NEC PowerVR 2 display support' CONFIG_FB_PVR2
115      dep_bool '    Debug pvr2fb' CONFIG_FB_PVR2_DEBUG $CONFIG_FB_PVR2
116   fi
117   if [ "$CONFIG_SUPERH" = "y" ]; then
118      bool '  Epson 1355 framebuffer support' CONFIG_FB_E1355
119      if [ "$CONFIG_FB_E1355" = "y" ]; then
120         hex '    Register Base Address' CONFIG_E1355_REG_BASE a8000000
121         hex '    Framebuffer Base Address' CONFIG_E1355_FB_BASE a8200000
122      fi
123   fi
124   if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
125      if [ "$CONFIG_PCI" != "n" ]; then
126	 tristate '  Matrox acceleration (EXPERIMENTAL)' CONFIG_FB_MATROX
127	 if [ "$CONFIG_FB_MATROX" != "n" ]; then
128	    bool '    Millennium I/II support' CONFIG_FB_MATROX_MILLENIUM
129	    bool '    Mystique support' CONFIG_FB_MATROX_MYSTIQUE
130 	    bool '    G100/G200/G400/G450/G550 support' CONFIG_FB_MATROX_G450
131 	    if [ "$CONFIG_FB_MATROX_G450" = "n" ]; then
132 	       bool '    G100/G200/G400 support' CONFIG_FB_MATROX_G100A
133 	    fi
134 	    if [ "$CONFIG_FB_MATROX_G450" = "y" -o "$CONFIG_FB_MATROX_G100A" = "y" ]; then
135 	       define_bool CONFIG_FB_MATROX_G100 y
136 	    fi
137            if [ "$CONFIG_I2C" != "n" ]; then
138	       dep_tristate '      Matrox I2C support' CONFIG_FB_MATROX_I2C $CONFIG_FB_MATROX $CONFIG_I2C_ALGOBIT
139	       if [ "$CONFIG_FB_MATROX_G100" = "y" ]; then
140	          dep_tristate '      G400 second head support' CONFIG_FB_MATROX_MAVEN $CONFIG_FB_MATROX_I2C
141	       fi
142            fi
143            dep_tristate '    Matrox /proc interface' CONFIG_FB_MATROX_PROC $CONFIG_FB_MATROX
144	    bool '    Multihead support' CONFIG_FB_MATROX_MULTIHEAD
145	 fi
146	 tristate '  ATI Mach64 display support (EXPERIMENTAL)' CONFIG_FB_ATY
147	 if [ "$CONFIG_FB_ATY" != "n" ]; then
148	    bool '    Mach64 GX support (EXPERIMENTAL)' CONFIG_FB_ATY_GX
149	    bool '    Mach64 CT/VT/GT/LT (incl. 3D RAGE) support' CONFIG_FB_ATY_CT
150            if [ "$ARCH" = "i386" -a "$CONFIG_FB_ATY_CT" != "n" ]; then
151              bool '    Mach64 generic LCD monitor support (EXPERIMENTAL)' CONFIG_FB_ATY_GENERIC_LCD
152            fi
153	 fi
154 	 tristate '  ATI Radeon display support (EXPERIMENTAL)' CONFIG_FB_RADEON
155	 tristate '  ATI Rage128 display support (EXPERIMENTAL)' CONFIG_FB_ATY128
156	 tristate '  Intel 830M/845G/852GM/855GM/865G display support (EXPERIMENTAL)' CONFIG_FB_INTEL
157	 tristate '  SIS display support (EXPERIMENTAL)' CONFIG_FB_SIS
158	 if [ "$CONFIG_FB_SIS" != "n" ]; then
159	    bool '    SIS 300 series support' CONFIG_FB_SIS_300
160	    bool '    SIS 315/330 series support' CONFIG_FB_SIS_315
161	 fi
162	 tristate '  NeoMagic display support (EXPERIMENTAL)' CONFIG_FB_NEOMAGIC
163	 tristate '  3Dfx Banshee/Voodoo3 display support (EXPERIMENTAL)' CONFIG_FB_3DFX
164	 tristate '  3Dfx Voodoo Graphics (sst1) support (EXPERIMENTAL)' CONFIG_FB_VOODOO1
165	 tristate '  Trident support (EXPERIMENTAL)' CONFIG_FB_TRIDENT
166	 if [ "$CONFIG_MIPS" = "y" ]; then
167	   tristate '  Epson SED1356 framebuffer support' CONFIG_FB_E1356
168	   if [ "$CONFIG_MIPS_PB1000" = "y" -a "$CONFIG_FB_E1356" != "n" ]; then
169	     bool '    Use CRT on Pb1000 (J65)' CONFIG_PB1000_CRT
170	     bool '    Use Compsite NTSC on Pb1000 (J63)' CONFIG_PB1000_NTSC
171	     bool '    Use TFT Panel on Pb1000 (J64)' CONFIG_PB1000_TFT
172	   fi
173           if [ "$CONFIG_MIPS_PB1500" = "y" -a "$CONFIG_FB_E1356" != "n" ]; then
174	     bool '    Use CRT on Pb1500 ' CONFIG_PB1500_CRT
175	     bool '    Use TFT Panel on Pb1500 ' CONFIG_PB1500_TFT
176           fi
177           if [ "$CONFIG_MIPS_PB1100" = "y" -a "$CONFIG_FB_E1356" != "n" ]; then
178	     bool '    Use CRT on Pb1100 ' CONFIG_PB1500_CRT
179	     bool '    Use TFT Panel on Pb1100 ' CONFIG_PB1500_TFT
180           fi
181           if [ "$CONFIG_SOC_AU1100" = "y" ]; then
182	     bool '    Au1100 LCD Driver' CONFIG_FB_AU1100
183           fi
184	 fi
185      fi
186   fi
187   if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then
188      bool '  SBUS and UPA framebuffers' CONFIG_FB_SBUS
189      if [ "$CONFIG_FB_SBUS" != "n" ]; then
190	 if [ "$CONFIG_SPARC64" = "y" ]; then
191	    bool '    Creator/Creator3D support' CONFIG_FB_CREATOR
192	 fi
193	 bool '    CGsix (GX,TurboGX) support' CONFIG_FB_CGSIX
194	 bool '    BWtwo support' CONFIG_FB_BWTWO
195	 bool '    CGthree support' CONFIG_FB_CGTHREE
196	 if [ "$CONFIG_SPARC32" = "y" ]; then
197	    bool '    TCX (SS4/SS5 only) support' CONFIG_FB_TCX
198	    bool '    CGfourteen (SX) support' CONFIG_FB_CGFOURTEEN
199	    bool '    P9100 (Sparcbook 3 only) support' CONFIG_FB_P9100
200	 fi
201	 bool '    Leo (ZX) support' CONFIG_FB_LEO
202      fi
203   fi
204   if [ "$CONFIG_SPARC32" = "y" ]; then
205      if [ "$CONFIG_PCI" != "n" ]; then
206	 bool '  PCI framebuffers' CONFIG_FB_PCI
207	 if [ "$CONFIG_FB_PCI" != "n" ]; then
208	    bool '    IGA 168x display support' CONFIG_FB_IGA
209	 fi
210      fi
211   fi
212   if [ "$CONFIG_SPARC64" = "y" ]; then
213      if [ "$CONFIG_PCI" != "n" ]; then
214	 bool '  PCI framebuffers' CONFIG_FB_PCI
215	 if [ "$CONFIG_FB_PCI" != "n" ]; then
216	    tristate '    ATI Mach64 display support' CONFIG_FB_ATY
217	    if [ "$CONFIG_FB_ATY" != "n" ]; then
218	       define_bool CONFIG_FB_ATY_CT y
219	    fi
220	 fi
221      fi
222   fi
223   if [ "$CONFIG_HD64461" = "y" ]; then
224      tristate '  HD64461 Frame Buffer support' CONFIG_FB_HIT
225   fi
226   if [ "$CONFIG_DECSTATION" = "y" ]; then
227      dep_bool '  PMAG-AA TURBOchannel framebuffer support' CONFIG_FB_PMAG_AA $CONFIG_TC
228      dep_bool '  PMAG-BA TURBOchannel framebuffer support' CONFIG_FB_PMAG_BA $CONFIG_TC
229      dep_bool '  PMAGB-B TURBOchannel framebuffer support' CONFIG_FB_PMAGB_B $CONFIG_TC
230      dep_bool '  Maxine (Personal DECstation) onboard framebuffer support' CONFIG_FB_MAXINE $CONFIG_TC
231   fi
232   if [ "$CONFIG_NINO" = "y" ]; then
233      bool '  TMPTX3912/PR31700 frame buffer support' CONFIG_FB_TX3912
234   fi
235   if [ "$CONFIG_PCI" = "y" -o "$CONFIG_CPU_VR41XX" = "y" ]; then
236      tristate '  ITE IT8181E/F support' CONFIG_FB_IT8181
237   fi
238   if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
239      tristate '  Virtual Frame Buffer support (ONLY FOR TESTING!) (EXPERIMENTAL)' CONFIG_FB_VIRTUAL
240   fi
241
242   bool '  Advanced low level driver options' CONFIG_FBCON_ADVANCED
243   if [ "$CONFIG_FBCON_ADVANCED" = "y" ]; then
244      tristate '    Monochrome support' CONFIG_FBCON_MFB
245      tristate '    2 bpp packed pixels support' CONFIG_FBCON_CFB2
246      tristate '    4 bpp packed pixels support' CONFIG_FBCON_CFB4
247      tristate '    8 bpp packed pixels support' CONFIG_FBCON_CFB8
248      tristate '    16 bpp packed pixels support' CONFIG_FBCON_CFB16
249      tristate '    24 bpp packed pixels support' CONFIG_FBCON_CFB24
250      tristate '    32 bpp packed pixels support' CONFIG_FBCON_CFB32
251      tristate '    Amiga bitplanes support' CONFIG_FBCON_AFB
252      tristate '    Amiga interleaved bitplanes support' CONFIG_FBCON_ILBM
253      tristate '    Atari interleaved bitplanes (2 planes) support' CONFIG_FBCON_IPLAN2P2
254      tristate '    Atari interleaved bitplanes (4 planes) support' CONFIG_FBCON_IPLAN2P4
255      tristate '    Atari interleaved bitplanes (8 planes) support' CONFIG_FBCON_IPLAN2P8
256#      tristate '    Atari interleaved bitplanes (16 planes) support' CONFIG_FBCON_IPLAN2P16
257      tristate '    Mac variable bpp packed pixels support' CONFIG_FBCON_MAC
258      tristate '    VGA 16-color planar support' CONFIG_FBCON_VGA_PLANES
259      tristate '    VGA characters/attributes support' CONFIG_FBCON_VGA
260      tristate '    HGA monochrome support (EXPERIMENTAL)' CONFIG_FBCON_HGA
261   else
262      # Guess what we need
263      if [ "$CONFIG_FB_ACORN" = "y" -o "$CONFIG_FB_AMIGA" = "y" -o \
264	   "$CONFIG_FB_ATARI" = "y" -o "$CONFIG_FB_CYBER" = "y" -o \
265	   "$CONFIG_FB_MAC" = "y" -o "$CONFIG_FB_RETINAZ3" = "y" -o \
266	   "$CONFIG_FB_VIRGE" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
267	   "$CONFIG_FB_BWTWO" = "y" -o "$CONFIG_FB_CLGEN" = "y"  -o \
268	   "$CONFIG_FB_TX3912" = "y" ]; then
269	 define_tristate CONFIG_FBCON_MFB y
270      else
271	 if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_AMIGA" = "m" -o \
272	      "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_CYBER" = "m" -o \
273	      "$CONFIG_FB_MAC" = "m" -o "$CONFIG_FB_RETINAZ3" = "m" -o \
274	      "$CONFIG_FB_VIRGE" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
275	      "$CONFIG_FB_BWTWO" = "m" -o "$CONFIG_FB_CLGEN" = "m" -o \
276	      "$CONFIG_FB_TX3912" = "m" ]; then
277	    define_tristate CONFIG_FBCON_MFB m
278	 fi
279      fi
280      if [ "$CONFIG_FB_ACORN" = "y" -o "$CONFIG_FB_MAC" = "y" -o \
281	   "$CONFIG_FB_SA1100" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
282	   "$CONFIG_FB_TX3912" = "y" ]; then
283	 define_tristate CONFIG_FBCON_CFB2 y
284	 define_tristate CONFIG_FBCON_CFB4 y
285      else
286	 if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_MAC" = "m" -o \
287	      "$CONFIG_FB_SA1100" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
288	      "$CONFIG_FB_TX3912" = "m" ]; then
289	    define_tristate CONFIG_FBCON_CFB2 m
290	    define_tristate CONFIG_FBCON_CFB4 m
291	 fi
292      fi
293      if [ "$CONFIG_FB_ACORN" = "y" -o "$CONFIG_FB_ATARI" = "y" -o \
294	   "$CONFIG_FB_ATY" = "y" -o "$CONFIG_FB_MAC" = "y" -o \
295	   "$CONFIG_FB_OF" = "y" -o "$CONFIG_FB_TGA" = "y" -o \
296	   "$CONFIG_FB_VESA" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
297	   "$CONFIG_FB_TCX" = "y" -o "$CONFIG_FB_CGTHREE" = "y" -o \
298	   "$CONFIG_FB_CONTROL" = "y" -o "$CONFIG_FB_CLGEN" = "y" -o \
299	   "$CONFIG_FB_CGFOURTEEN" = "y" -o "$CONFIG_FB_G364" = "y" -o \
300	   "$CONFIG_FB_VIRGE" = "y" -o "$CONFIG_FB_CYBER" = "y" -o \
301	   "$CONFIG_FB_VALKYRIE" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \
302           "$CONFIG_FB_IGA" = "y" -o "$CONFIG_FB_MATROX" = "y" -o \
303	   "$CONFIG_FB_CT65550" = "y" -o "$CONFIG_FB_PM2" = "y" -o \
304           "$CONFIG_FB_PM3" = "y" -o "$CONFIG_FB_TRIDENT" = "y" -o \
305	   "$CONFIG_FB_P9100" = "y" -o "$CONFIG_FB_ATY128" = "y" -o \
306	   "$CONFIG_FB_RIVA" = "y" -o "$CONFIG_FB_RADEON" = "y" -o \
307	   "$CONFIG_FB_INTEL" = "y" -o \
308	   "$CONFIG_FB_SGIVW" = "y" -o "$CONFIG_FB_CYBER2000" = "y" -o \
309	   "$CONFIG_FB_SA1100" = "y" -o "$CONFIG_FB_3DFX" = "y" -o \
310	   "$CONFIG_FB_PMAG_AA" = "y" -o "$CONFIG_FB_PMAG_BA" = "y" -o \
311	   "$CONFIG_FB_PMAGB_B" = "y" -o "$CONFIG_FB_MAXINE" = "y" -o \
312	   "$CONFIG_FB_TX3912" = "y" -o \
313	   "$CONFIG_FB_SIS" = "y" -o "$CONFIG_FB_NEOMAGIC" = "y" -o \
314	   "$CONFIG_FB_STI" = "y" -o "$CONFIG_FB_HP300" = "y" -o \
315	   "$CONFIG_FB_INTEL" = "y" ]; then
316	 define_tristate CONFIG_FBCON_CFB8 y
317      else
318	 if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_ATARI" = "m" -o \
319	      "$CONFIG_FB_ATY" = "m" -o "$CONFIG_FB_MAC" = "m" -o \
320	      "$CONFIG_FB_OF" = "m" -o "$CONFIG_FB_TGA" = "m" -o \
321	      "$CONFIG_FB_VESA" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
322	      "$CONFIG_FB_TCX" = "m" -o "$CONFIG_FB_CGTHREE" = "m" -o \
323	      "$CONFIG_FB_CONTROL" = "m" -o "$CONFIG_FB_CLGEN" = "m" -o \
324	      "$CONFIG_FB_CGFOURTEEN" = "m" -o "$CONFIG_FB_G364" = "m" -o \
325	      "$CONFIG_FB_VIRGE" = "m" -o "$CONFIG_FB_CYBER" = "m" -o \
326	      "$CONFIG_FB_VALKYRIE" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \
327              "$CONFIG_FB_IGA" = "m" -o "$CONFIG_FB_MATROX" = "m" -o \
328	      "$CONFIG_FB_CT65550" = "m" -o "$CONFIG_FB_PM2" = "m" -o \
329              "$CONFIG_FB_PM3" = "m" -o "$CONFIG_FB_TRIDENT" = "m" -o \
330	      "$CONFIG_FB_P9100" = "m" -o "$CONFIG_FB_ATY128" = "m" -o \
331	      "$CONFIG_FB_RIVA" = "m" -o "$CONFIG_FB_3DFX" = "m" -o \
332	      "$CONFIG_FB_SGIVW" = "m" -o "$CONFIG_FB_CYBER2000" = "m" -o \
333	      "$CONFIG_FB_PMAG_AA" = "m" -o "$CONFIG_FB_PMAG_BA" = "m" -o \
334	      "$CONFIG_FB_PMAGB_B" = "m" -o "$CONFIG_FB_MAXINE" = "m" -o \
335	      "$CONFIG_FB_RADEON" = "m" -o "$CONFIG_FB_INTEL" = "m" -o \
336	      "$CONFIG_FB_SA1100" = "m" -o "$CONFIG_FB_SIS" = "m" -o \
337	      "$CONFIG_FB_TX3912" = "m" -o "$CONFIG_FB_NEOMAGIC" = "m" -o \
338	      "$CONFIG_FB_STI" = "m" -o "$CONFIG_FB_INTEL" = "m" ]; then
339	    define_tristate CONFIG_FBCON_CFB8 m
340	 fi
341      fi
342      if [ "$CONFIG_FB_ATARI" = "y" -o "$CONFIG_FB_ATY" = "y" -o \
343	   "$CONFIG_FB_MAC" = "y" -o "$CONFIG_FB_VESA" = "y" -o \
344	   "$CONFIG_FB_VIRTUAL" = "y" -o "$CONFIG_FB_TBOX" = "y" -o \
345	   "$CONFIG_FB_Q40" = "y" -o "$CONFIG_FB_RADEON" = "y" -o \
346	   "$CONFIG_FB_INTEL" = "y" -o \
347	   "$CONFIG_FB_CONTROL" = "y" -o "$CONFIG_FB_CLGEN" = "y" -o \
348	   "$CONFIG_FB_VIRGE" = "y" -o "$CONFIG_FB_CYBER" = "y" -o \
349	   "$CONFIG_FB_VALKYRIE" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \
350	   "$CONFIG_FB_CT65550" = "y" -o "$CONFIG_FB_MATROX" = "y" -o \
351	   "$CONFIG_FB_PM2" = "y" -o "$CONFIG_FB_SGIVW" = "y" -o \
352           "$CONFIG_FB_PM3" = "y" -o "$CONFIG_FB_TRIDENT" = "y" -o \
353	   "$CONFIG_FB_RIVA" = "y" -o "$CONFIG_FB_ATY128" = "y" -o \
354	   "$CONFIG_FB_CYBER2000" = "y" -o "$CONFIG_FB_3DFX" = "y"  -o \
355	   "$CONFIG_FB_SIS" = "y" -o "$CONFIG_FB_SA1100" = "y" -o \
356	   "$CONFIG_FB_PVR2" = "y" -o "$CONFIG_FB_VOODOO1" = "y" -o \
357	   "$CONFIG_FB_NEOMAGIC" = "y" -o "$CONFIG_FB_INTEL" = "y" ]; then
358	 define_tristate CONFIG_FBCON_CFB16 y
359      else
360	 if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \
361	      "$CONFIG_FB_MAC" = "m" -o "$CONFIG_FB_VESA" = "m" -o \
362	      "$CONFIG_FB_VIRTUAL" = "m" -o "$CONFIG_FB_TBOX" = "m" -o \
363	      "$CONFIG_FB_Q40" = "m" -o "$CONFIG_FB_3DFX" = "m" -o \
364	      "$CONFIG_FB_CONTROL" = "m" -o "$CONFIG_FB_CLGEN" = "m" -o \
365	      "$CONFIG_FB_VIRGE" = "m" -o "$CONFIG_FB_CYBER" = "m" -o \
366	      "$CONFIG_FB_VALKYRIE" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \
367	      "$CONFIG_FB_CT65550" = "m" -o "$CONFIG_FB_MATROX" = "m" -o \
368	      "$CONFIG_FB_PM2" = "m" -o "$CONFIG_FB_SGIVW" = "m" -o \
369              "$CONFIG_FB_PM3" = "m" -o "$CONFIG_FB_TRIDENT" = "m" -o \
370	      "$CONFIG_FB_RIVA" = "m" -o "$CONFIG_FB_ATY128" = "m" -o \
371	      "$CONFIG_FB_CYBER2000" = "m" -o "$CONFIG_FB_SIS" = "m" -o \
372	      "$CONFIG_FB_SA1100" = "m" -o "$CONFIG_FB_RADEON" = "m" -o \
373	      "$CONFIG_FB_INTEL" = "m" -o \
374	      "$CONFIG_FB_PVR2" = "m" -o "$CONFIG_FB_VOODOO1" = "m" -o \
375	      "$CONFIG_FB_NEOMAGIC" = "m" -o "$CONFIG_FB_INTEL" = "m" ]; then
376	    define_tristate CONFIG_FBCON_CFB16 m
377	 fi
378      fi
379      if [ "$CONFIG_FB_ATY" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
380	   "$CONFIG_FB_CLGEN" = "y" -o "$CONFIG_FB_VESA" = "y" -o \
381	   "$CONFIG_FB_MATROX" = "y" -o "$CONFIG_FB_PM2" = "y" -o \
382           "$CONFIG_FB_ATY128" = "y" -o "$CONFIG_FB_RADEON" = "y" -o \
383	   "$CONFIG_FB_CYBER2000" = "y" -o "$CONFIG_FB_PVR2" = "y" -o \
384	   "$CONFIG_FB_VOODOO1" = "y" -o "$CONFIG_FB_NEOMAGIC" = "y" ]; then
385	 define_tristate CONFIG_FBCON_CFB24 y
386      else
387	 if [ "$CONFIG_FB_ATY" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
388	      "$CONFIG_FB_CLGEN" = "m" -o "$CONFIG_FB_VESA" = "m" -o \
389	      "$CONFIG_FB_MATROX" = "m" -o "$CONFIG_FB_PM2" = "m" -o \
390	      "$CONFIG_FB_ATY128" = "m" -o "$CONFIG_FB_RADEON" = "m" -o \
391	      "$CONFIG_FB_CYBER2000" = "m" -o "$CONFIG_FB_PVR2" = "m" -o \
392	      "$CONFIG_FB_VOODOO1" = "m" -o "$CONFIG_FB_NEOMAGIC" = "m" ]; then
393	    define_tristate CONFIG_FBCON_CFB24 m
394	 fi
395      fi
396      if [ "$CONFIG_FB_ATARI" = "y" -o "$CONFIG_FB_ATY" = "y" -o \
397	   "$CONFIG_FB_VESA" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
398	   "$CONFIG_FB_CONTROL" = "y" -o "$CONFIG_FB_CLGEN" = "y" -o \
399	   "$CONFIG_FB_TGA" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \
400	   "$CONFIG_FB_MATROX" = "y" -o "$CONFIG_FB_PM2" = "y" -o \
401           "$CONFIG_FB_PM3" = "y" -o "$CONFIG_FB_TRIDENT" = "y" -o \
402	   "$CONFIG_FB_RIVA" = "y" -o "$CONFIG_FB_ATY128" = "y" -o \
403	   "$CONFIG_FB_FM2" = "y" -o "$CONFIG_FB_SGIVW" = "y" -o \
404	   "$CONFIG_FB_RADEON" = "y" -o "$CONFIG_FB_PVR2" = "y" -o \
405	   "$CONFIG_FB_INTEL" = "y" -o \
406	   "$CONFIG_FB_3DFX" = "y" -o "$CONFIG_FB_SIS" = "y" -o \
407	   "$CONFIG_FB_VOODOO1" = "y" -o "$CONFIG_FB_CYBER2000" = "y" -o \
408	   "$CONFIG_FB_STI" = "y"  -o "$CONFIG_FB_INTEL" = "y" ]; then
409	 define_tristate CONFIG_FBCON_CFB32 y
410      else
411	 if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \
412	      "$CONFIG_FB_VESA" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
413	      "$CONFIG_FB_CONTROL" = "m" -o "$CONFIG_FB_CLGEN" = "m" -o \
414	      "$CONFIG_FB_TGA" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \
415	      "$CONFIG_FB_MATROX" = "m" -o "$CONFIG_FB_PM2" = "m" -o \
416              "$CONFIG_FB_PM3" = "m" -o "$CONFIG_FB_TRIDENT" = "m" -o \
417	      "$CONFIG_FB_RIVA" = "m" -o "$CONFIG_FB_ATY128" = "m" -o \
418	      "$CONFIG_FB_3DFX" = "m" -o "$CONFIG_FB_RADEON" = "m" -o \
419	      "$CONFIG_FB_INTEL" = "m" -o \
420	      "$CONFIG_FB_SGIVW" = "m" -o "$CONFIG_FB_SIS" = "m" -o \
421	      "$CONFIG_FB_PVR2" = "m" -o "$CONFIG_FB_VOODOO1" = "m" -o \
422	      "$CONFIG_FB_CYBER2000" = "m" -o "$CONFIG_FB_STI" = "m" ]; then
423	    define_tristate CONFIG_FBCON_CFB32 m
424	 fi
425      fi
426      if [ "$CONFIG_FB_AMIGA" = "y" ]; then
427	 define_tristate CONFIG_FBCON_AFB y
428	 define_tristate CONFIG_FBCON_ILBM y
429      else
430	 if [ "$CONFIG_FB_AMIGA" = "m" ]; then
431	    define_tristate CONFIG_FBCON_AFB m
432	    define_tristate CONFIG_FBCON_ILBM m
433	 fi
434      fi
435      if [ "$CONFIG_FB_ATARI" = "y" ]; then
436	 define_tristate CONFIG_FBCON_IPLAN2P2 y
437	 define_tristate CONFIG_FBCON_IPLAN2P4 y
438	 define_tristate CONFIG_FBCON_IPLAN2P8 y
439#	 define_tristate CONFIG_FBCON_IPLAN2P16 y
440      else
441	 if [ "$CONFIG_FB_ATARI" = "m" ]; then
442	    define_tristate CONFIG_FBCON_IPLAN2P2 m
443	    define_tristate CONFIG_FBCON_IPLAN2P4 m
444	    define_tristate CONFIG_FBCON_IPLAN2P8 m
445#	    define_tristate CONFIG_FBCON_IPLAN2P16 m
446	 fi
447      fi
448      if [ "$CONFIG_FB_MAC" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" ]; then
449	 define_tristate CONFIG_FBCON_MAC  y
450      else
451	 if [ "$CONFIG_FB_MAC" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" ]; then
452	    define_tristate CONFIG_FBCON_MAC  m
453	 fi
454      fi
455      if [ "$CONFIG_FB_VGA16" = "y" ]; then
456	 define_tristate CONFIG_FBCON_VGA_PLANES y
457      else
458	 if [ "$CONFIG_FB_VGA16" = "m" ]; then
459	    define_tristate CONFIG_FBCON_VGA_PLANES m
460	 fi
461      fi
462      if [ "$CONFIG_FB_HGA" = "y" ]; then
463	 define_tristate CONFIG_FBCON_HGA y
464      else
465	 if [ "$CONFIG_FB_HGA" = "m" ]; then
466	    define_tristate CONFIG_FBCON_HGA m
467	 fi
468      fi
469   fi
470   if [ "$CONFIG_FB_STI" = "y" ]; then
471      define_tristate CONFIG_FBCON_STI y
472   fi
473   bool '  Support only 8 pixels wide fonts' CONFIG_FBCON_FONTWIDTH8_ONLY
474   if [ "$CONFIG_SPARC32" = "y" -o "$CONFIG_SPARC64" = "y" ]; then
475      bool '  Sparc console 8x16 font' CONFIG_FONT_SUN8x16
476      if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
477	 bool '  Sparc console 12x22 font (not supported by all drivers)' CONFIG_FONT_SUN12x22
478      fi
479      bool '  Select other fonts' CONFIG_FBCON_FONTS
480      if [ "$CONFIG_FBCON_FONTS" = "y" ]; then
481	 bool '    VGA 8x8 font' CONFIG_FONT_8x8
482	 bool '    VGA 8x16 font' CONFIG_FONT_8x16
483	 if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
484	    bool '    Mac console 6x11 font (not supported by all drivers)' CONFIG_FONT_6x11
485	 fi
486	 bool '    Pearl (old m68k) console 8x8 font' CONFIG_FONT_PEARL_8x8
487	 bool '    Acorn console 8x8 font' CONFIG_FONT_ACORN_8x8
488      fi
489   else
490      bool '  Select compiled-in fonts' CONFIG_FBCON_FONTS
491      if [ "$CONFIG_FBCON_FONTS" = "y" ]; then
492	 bool '    VGA 8x8 font' CONFIG_FONT_8x8
493	 bool '    VGA 8x16 font' CONFIG_FONT_8x16
494	 bool '    Sparc console 8x16 font' CONFIG_FONT_SUN8x16
495	 if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
496	    bool '    Sparc console 12x22 font (not supported by all drivers)' CONFIG_FONT_SUN12x22
497	    bool '    Mac console 6x11 font (not supported by all drivers)' CONFIG_FONT_6x11
498	 fi
499	 bool '    Pearl (old m68k) console 8x8 font' CONFIG_FONT_PEARL_8x8
500	 bool '    Acorn console 8x8 font' CONFIG_FONT_ACORN_8x8
501      else
502	 define_bool CONFIG_FONT_8x8 y
503	 define_bool CONFIG_FONT_8x16 y
504	 if [ "$CONFIG_MAC" = "y" ]; then
505	    if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
506	       define_bool CONFIG_FONT_6x11 y
507	    fi
508	 fi
509	 if [ "$CONFIG_AMIGA" = "y" ]; then
510	    define_bool CONFIG_FONT_PEARL_8x8 y
511	 fi
512	 if [ "$CONFIG_ARM" = "y" -a "$CONFIG_ARCH_ACORN" = "y" ]; then
513	    define_bool CONFIG_FONT_ACORN_8x8 y
514	 fi
515      fi
516   fi
517fi
518
519endmenu
520