Import 2.3.18pre1
[davej-history.git] / drivers / video / Config.in
blob9fb8d39050ac36b1123b784979cdb15c052277cc
2 # Video configuration
5 if [ "$CONFIG_FB" = "y" ]; then
6   define_bool CONFIG_DUMMY_CONSOLE y
7   if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
8     if [ "$CONFIG_AMIGA" = "y" -o "$CONFIG_PCI" = "y" ]; then
9       tristate 'Cirrus Logic suport (experimental)' CONFIG_FB_CLGEN
10       tristate 'Permedia2 support (experimental)' CONFIG_FB_PM2
11       if [ "$CONFIG_FB_PM2" = "y" ]; then
12         if [ "$CONFIG_PCI" = "y" ]; then
13           bool '  enable FIFO disconnect feature' CONFIG_FB_PM2_FIFO_DISCONNECT
14           bool '  generic Permedia2 PCI board support' CONFIG_FB_PM2_PCI
15         fi
16         if [ "$CONFIG_AMIGA" = "y" ]; then
17           bool '  Phase5 CVisionPPC/BVisionPPC support' CONFIG_FB_PM2_CVPPC
18         fi
19       fi
20     fi
21   fi
22   if [ "$CONFIG_ARCH_ACORN" = "y" ]; then
23     bool 'Acorn VIDC support' CONFIG_FB_ACORN
24   fi
25   if [ "$CONFIG_ARCH_NETWINDER" = "y" ]; then
26     tristate 'Cyber2000 support' CONFIG_FB_CYBER2000
27   fi
28   if [ "$CONFIG_APOLLO" = "y" ]; then
29     define_bool CONFIG_FB_APOLLO y
30   fi
31   if [ "$CONFIG_Q40" = "y" ]; then
32     define_bool CONFIG_FB_Q40 y
33   fi
34   if [ "$CONFIG_AMIGA" = "y" ]; then
35     bool 'Amiga native chipset support' CONFIG_FB_AMIGA
36     if [ "$CONFIG_FB_AMIGA" != "n" ]; then
37       bool 'Amiga OCS chipset support' CONFIG_FB_AMIGA_OCS
38       bool 'Amiga ECS chipset support' CONFIG_FB_AMIGA_ECS
39       bool 'Amiga AGA chipset support' CONFIG_FB_AMIGA_AGA
40     fi
41   fi
42   if [ "$CONFIG_ZORRO" = "y" ]; then
43     tristate 'Amiga CyberVision support' CONFIG_FB_CYBER
44     if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
45       bool 'Amiga CyberVision3D support (experimental)' CONFIG_FB_VIRGE
46       tristate 'Amiga RetinaZ3 support' CONFIG_FB_RETINAZ3
47       bool 'Amiga FrameMaster II/Rainbow II support (experimental)' CONFIG_FB_FM2
48     fi
49   fi
50   if [ "$CONFIG_ATARI" = "y" ]; then
51     bool 'Atari native chipset support' CONFIG_FB_ATARI
52     tristate 'ATI Mach64 display support' CONFIG_FB_ATY
53   fi
54   if [ "$CONFIG_PPC" = "y" ]; then
55     bool 'Open Firmware frame buffer device support' CONFIG_FB_OF
56     if [ "$CONFIG_FB_OF" = "y" ]; then
57       bool 'Apple "control" display support' CONFIG_FB_CONTROL
58       bool 'Apple "platinum" display support' CONFIG_FB_PLATINUM
59       bool 'Apple "valkyrie" display support' CONFIG_FB_VALKYRIE
60       tristate 'ATI Mach64 display support' CONFIG_FB_ATY
61       bool 'IMS Twin Turbo display support' CONFIG_FB_IMSTT
62       bool 'Chips 65550 display support' CONFIG_FB_CT65550
63       bool 'S3 Trio display support' CONFIG_FB_S3TRIO
64     fi
65     tristate 'VGA 16-color graphics console' CONFIG_FB_VGA16
66   fi
67   if [ "$CONFIG_MAC" = "y" ]; then
68     define_bool CONFIG_FB_MAC y
69   fi
70   if [ "$CONFIG_HP300" = "y" ]; then
71     define_bool CONFIG_FB_HP300 y
72   fi
73   if [ "$ARCH" = "alpha" ]; then
74     tristate 'TGA framebuffer support' CONFIG_FB_TGA
75   fi
76   if [ "$ARCH" = "i386" ]; then
77     bool 'VESA VGA graphics console' CONFIG_FB_VESA
78     tristate 'VGA 16-color graphics console' CONFIG_FB_VGA16
79     define_bool CONFIG_VIDEO_SELECT y
80   fi
81   if [ "$CONFIG_VISWS" = "y" ]; then
82     tristate 'SGI Visual Workstation framebuffer support' CONFIG_FB_SGIVW
83   fi
84   if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
85     if [ "$CONFIG_PCI" != "n" ]; then
86       tristate 'Matrox acceleration' CONFIG_FB_MATROX
87       if  [ "$CONFIG_FB_MATROX" != "n" ]; then
88         bool '  Millennium I/II support' CONFIG_FB_MATROX_MILLENIUM
89         bool '  Mystique support' CONFIG_FB_MATROX_MYSTIQUE
90         bool '  G100/G200/G400 support' CONFIG_FB_MATROX_G100
91         bool '  Multihead support' CONFIG_FB_MATROX_MULTIHEAD
92       fi
93       tristate 'ATI Mach64 display support' CONFIG_FB_ATY
94     fi
95   fi
96   if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then
97     bool 'SBUS and UPA framebuffers' CONFIG_FB_SBUS
98     if [ "$CONFIG_FB_SBUS" != "n" ]; then
99       if [ "$ARCH" = "sparc64" ]; then
100         bool '  Creator/Creator3D support' CONFIG_FB_CREATOR
101       fi
102       bool '  CGsix (GX,TurboGX) support' CONFIG_FB_CGSIX
103       bool '  BWtwo support' CONFIG_FB_BWTWO
104       bool '  CGthree support' CONFIG_FB_CGTHREE
105       if [ "$ARCH" = "sparc" ]; then
106         bool '  TCX (SS4/SS5 only) support' CONFIG_FB_TCX
107         bool '  CGfourteen (SX) support' CONFIG_FB_CGFOURTEEN
108         bool '  P9100 (Sparcbook 3 only) support' CONFIG_FB_P9100
109       fi
110       bool '  Leo (ZX) support' CONFIG_FB_LEO
111     fi
112   fi
113   if [ "$ARCH" = "sparc" ]; then
114     if [ "$CONFIG_PCI" != "n" ]; then
115       bool 'PCI framebuffers' CONFIG_FB_PCI
116       if [ "$CONFIG_FB_PCI" != "n" ]; then
117         bool '  IGA 168x display support' CONFIG_FB_IGA
118       fi
119     fi
120   fi
121   if [ "$ARCH" = "sparc64" ]; then
122     if [ "$CONFIG_PCI" != "n" ]; then
123       bool 'PCI framebuffers' CONFIG_FB_PCI
124       if [ "$CONFIG_FB_PCI" != "n" ]; then
125         tristate '  ATI Mach64 display support' CONFIG_FB_ATY
126       fi
127     fi
128   fi
129   tristate 'Virtual Frame Buffer support (ONLY FOR TESTING!)' CONFIG_FB_VIRTUAL
131   bool 'Advanced low level driver options' CONFIG_FBCON_ADVANCED
132   if [ "$CONFIG_FBCON_ADVANCED" = "y" ]; then
133     tristate 'Monochrome support' CONFIG_FBCON_MFB
134     tristate '2 bpp packed pixels support' CONFIG_FBCON_CFB2
135     tristate '4 bpp packed pixels support' CONFIG_FBCON_CFB4
136     tristate '8 bpp packed pixels support' CONFIG_FBCON_CFB8
137     tristate '16 bpp packed pixels support' CONFIG_FBCON_CFB16
138     tristate '24 bpp packed pixels support' CONFIG_FBCON_CFB24
139     tristate '32 bpp packed pixels support' CONFIG_FBCON_CFB32
140     tristate 'Amiga bitplanes support' CONFIG_FBCON_AFB
141     tristate 'Amiga interleaved bitplanes support' CONFIG_FBCON_ILBM
142     tristate 'Atari interleaved bitplanes (2 planes) support' CONFIG_FBCON_IPLAN2P2
143     tristate 'Atari interleaved bitplanes (4 planes) support' CONFIG_FBCON_IPLAN2P4
144     tristate 'Atari interleaved bitplanes (8 planes) support' CONFIG_FBCON_IPLAN2P8
145 #   tristate 'Atari interleaved bitplanes (16 planes) support' CONFIG_FBCON_IPLAN2P16
146     tristate 'Mac variable bpp packed pixels support' CONFIG_FBCON_MAC
147     tristate 'VGA 16-color planar support' CONFIG_FBCON_VGA_PLANES
148     tristate 'VGA characters/attributes support' CONFIG_FBCON_VGA
149   else
150     # Guess what we need
151     if [ "$CONFIG_FB_ACORN" = "y" -o "$CONFIG_FB_AMIGA" = "y" -o \
152          "$CONFIG_FB_ATARI" = "y" -o "$CONFIG_FB_CYBER" = "y" -o \
153          "$CONFIG_FB_MAC" = "y" -o "$CONFIG_FB_RETINAZ3" = "y" -o \
154          "$CONFIG_FB_VIRGE" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
155          "$CONFIG_FB_BWTWO" = "y" -o "$CONFIG_FB_CLGEN" = "y" ]; then
156       define_bool CONFIG_FBCON_MFB y
157     else
158       if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_AMIGA" = "m" -o \
159            "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_CYBER" = "m" -o \
160            "$CONFIG_FB_MAC" = "m" -o "$CONFIG_FB_RETINAZ3" = "m" -o \
161            "$CONFIG_FB_VIRGE" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
162            "$CONFIG_FB_BWTWO" = "m" -o "$CONFIG_FB_CLGEN" = "m" ]; then
163         define_bool CONFIG_FBCON_MFB m
164       fi
165     fi
166     if [ "$CONFIG_FB_ACORN" = "y" -o "$CONFIG_FB_MAC" = "y" -o \
167          "$CONFIG_FB_VIRTUAL" = "y" ]; then
168       define_bool CONFIG_FBCON_CFB2 y
169       define_bool CONFIG_FBCON_CFB4 y
170     else
171       if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_MAC" = "m" -o \
172            "$CONFIG_FB_VIRTUAL" = "m" ]; then
173         define_bool CONFIG_FBCON_CFB2 m
174         define_bool CONFIG_FBCON_CFB4 m
175       fi
176     fi
177     if [ "$CONFIG_FB_ACORN" = "y" -o "$CONFIG_FB_ATARI" = "y" -o \
178          "$CONFIG_FB_ATY" = "y" -o "$CONFIG_FB_MAC" = "y" -o \
179          "$CONFIG_FB_OF" = "y" -o "$CONFIG_FB_TGA" = "y" -o \
180          "$CONFIG_FB_VESA" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
181          "$CONFIG_FB_TCX" = "y" -o "$CONFIG_FB_CGTHREE" = "y" -o \
182          "$CONFIG_FB_CONTROL" = "y" -o "$CONFIG_FB_CLGEN" = "y" -o \
183          "$CONFIG_FB_CGFOURTEEN" = "y" -o "$CONFIG_FB_G364" = "y" -o \
184          "$CONFIG_FB_VIRGE" = "y" -o "$CONFIG_FB_CYBER" = "y" -o \
185          "$CONFIG_FB_VALKYRIE" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \
186          "$CONFIG_FB_IGA" = "y" -o "$CONFIG_FB_MATROX" = "y" -o \
187          "$CONFIG_FB_CT65550" = "y" -o "$CONFIG_FB_PM2" = "y" -o \
188          "$CONFIG_FB_P9100" = "y" -o \
189          "$CONFIG_FB_SGIVW" = "y" -o "$CONFIG_FB_CYBER2000" = "y" ]; then
190       define_bool CONFIG_FBCON_CFB8 y
191     else
192       if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_ATARI" = "m" -o \
193            "$CONFIG_FB_ATY" = "m" -o "$CONFIG_FB_MAC" = "m" -o \
194            "$CONFIG_FB_OF" = "m" -o "$CONFIG_FB_TGA" = "m" -o \
195            "$CONFIG_FB_VESA" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
196            "$CONFIG_FB_TCX" = "m" -o "$CONFIG_FB_CGTHREE" = "m" -o \
197            "$CONFIG_FB_CONTROL" = "m" -o "$CONFIG_FB_CLGEN" = "m" -o \
198            "$CONFIG_FB_CGFOURTEEN" = "m" -o "$CONFIG_FB_G364" = "m" -o \
199            "$CONFIG_FB_VIRGE" = "m" -o "$CONFIG_FB_CYBER" = "m" -o \
200            "$CONFIG_FB_VALKYRIE" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \
201            "$CONFIG_FB_IGA" = "m" -o "$CONFIG_FB_MATROX" = "m" -o \
202            "$CONFIG_FB_CT65550" = "m" -o "$CONFIG_FB_PM2" = "m" -o \
203            "$CONFIG_FB_P9100" = "m" -o \
204            "$CONFIG_FB_SGIVW" = "m" -o "$CONFIG_FB_CYBER2000" = "m" ]; then
205         define_bool CONFIG_FBCON_CFB8 m
206       fi
207     fi
208     if [ "$CONFIG_FB_ATARI" = "y" -o "$CONFIG_FB_ATY" = "y" -o \
209          "$CONFIG_FB_MAC" = "y" -o "$CONFIG_FB_VESA" = "y" -o \
210          "$CONFIG_FB_VIRTUAL" = "y" -o "$CONFIG_FB_TBOX" = "y" -o \
211          "$CONFIG_FB_Q40" = "y" -o \
212          "$CONFIG_FB_CONTROL" = "y" -o "$CONFIG_FB_CLGEN" = "y" -o \
213          "$CONFIG_FB_VIRGE" = "y" -o "$CONFIG_FB_CYBER" = "y" -o \
214          "$CONFIG_FB_VALKYRIE" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \
215          "$CONFIG_FB_CT65550" = "y" -o "$CONFIG_FB_MATROX" = "y" -o \
216          "$CONFIG_FB_PM2" = "y" -o "$CONFIG_FB_SGIVW" = "y" -o \
217          "$CONFIG_FB_CYBER2000" = "y" ]; then
218       define_bool CONFIG_FBCON_CFB16 y
219     else
220       if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \
221            "$CONFIG_FB_MAC" = "m" -o "$CONFIG_FB_VESA" = "m" -o \
222            "$CONFIG_FB_VIRTUAL" = "m" -o "$CONFIG_FB_TBOX" = "m" -o \
223          "$CONFIG_FB_Q40" = "m" -o \
224            "$CONFIG_FB_CONTROL" = "m" -o "$CONFIG_FB_CLGEN" = "m" -o \
225            "$CONFIG_FB_VIRGE" = "m" -o "$CONFIG_FB_CYBER" = "m" -o \
226            "$CONFIG_FB_VALKYRIE" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \
227            "$CONFIG_FB_CT65550" = "m" -o "$CONFIG_FB_MATROX" = "m" -o \
228            "$CONFIG_FB_PM2" = "y" -o "$CONFIG_FB_SGIVW" = "m" -o \
229            "$CONFIG_FB_CYBER2000" = "m" ]; then
230         define_bool CONFIG_FBCON_CFB16 m
231       fi
232     fi
233     if [ "$CONFIG_FB_ATY" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
234          "$CONFIG_FB_CLGEN" = "y" -o "$CONFIG_FB_VESA" = "y" -o \
235           "$CONFIG_FB_MATROX" = "y" -o "$CONFIG_FB_PM2" = "y" -o \
236          "$CONFIG_FB_CYBER2000" = "y" ]; then
237       define_bool CONFIG_FBCON_CFB24 y
238     else
239       if [ "$CONFIG_FB_ATY" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
240            "$CONFIG_FB_CLGEN" = "m" -o "$CONFIG_FB_VESA" = "m" -o \
241            "$CONFIG_FB_MATROX" = "m" -o "$CONFIG_FB_PM2" = "m" -o \
242            "$CONFIG_FB_CYBER2000" = "m" ]; then
243         define_bool CONFIG_FBCON_CFB24 m
244       fi
245     fi
246     if [ "$CONFIG_FB_ATARI" = "y" -o "$CONFIG_FB_ATY" = "y" -o \
247          "$CONFIG_FB_VESA" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
248          "$CONFIG_FB_CONTROL" = "y" -o "$CONFIG_FB_CLGEN" = "y" -o \
249          "$CONFIG_FB_TGA" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \
250          "$CONFIG_FB_MATROX" = "y" -o "$CONFIG_FB_PM2" = "y" -o \
251          "$CONFIG_FB_FM2" = "y" -o "$CONFIG_FB_SGIVW" = "y" ]; then
252       define_bool CONFIG_FBCON_CFB32 y
253     else
254       if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \
255            "$CONFIG_FB_VESA" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
256            "$CONFIG_FB_CONTROL" = "m" -o "$CONFIG_FB_CLGEN" = "m" -o \
257            "$CONFIG_FB_TGA" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \
258            "$CONFIG_FB_MATROX" = "m" -o "$CONFIG_FB_PM2" = "m" -o \
259            "$CONFIG_FB_SGIVW" = "m" ]; then
260         define_bool CONFIG_FBCON_CFB32 m
261       fi
262     fi
263     if [ "$CONFIG_FB_AMIGA" = "y" ]; then
264       define_bool CONFIG_FBCON_AFB y
265       define_bool CONFIG_FBCON_ILBM y
266     else
267       if [ "$CONFIG_FB_AMIGA" = "m" ]; then
268         define_bool CONFIG_FBCON_AFB m
269         define_bool CONFIG_FBCON_ILBM m
270       fi
271     fi
272     if [ "$CONFIG_FB_ATARI" = "y" ]; then
273       define_bool CONFIG_FBCON_IPLAN2P2 y
274       define_bool CONFIG_FBCON_IPLAN2P4 y
275       define_bool CONFIG_FBCON_IPLAN2P8 y
276 #     define_bool CONFIG_FBCON_IPLAN2P16 y
277     else
278       if [ "$CONFIG_FB_ATARI" = "m" ]; then
279         define_bool CONFIG_FBCON_IPLAN2P2 m
280         define_bool CONFIG_FBCON_IPLAN2P4 m
281         define_bool CONFIG_FBCON_IPLAN2P8 m
282 #       define_bool CONFIG_FBCON_IPLAN2P16 m
283       fi
284     fi
285     if [ "$CONFIG_FB_MAC" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" ]; then
286       define_bool CONFIG_FBCON_MAC  y
287     else
288       if [ "$CONFIG_FB_MAC" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" ]; then
289         define_bool CONFIG_FBCON_MAC  m
290       fi
291     fi
292     if [ "$CONFIG_FB_VGA16" = "y" ]; then
293       define_bool CONFIG_FBCON_VGA_PLANES y
294     else
295       if [ "$CONFIG_FB_VGA16" = "m" ]; then
296         define_bool CONFIG_FBCON_VGA_PLANES m
297       fi
298     fi
299     if [ "$CONFIG_FB_MDA" = "y" -o "$CONFIG_FB_VGA" = "y" ]; then
300       define_bool CONFIG_FBCON_VGA y
301     else
302       if [ "$CONFIG_FB_MDA" = "m" -o "$CONFIG_FB_VGA" = "m" ]; then
303         define_bool CONFIG_FBCON_VGA m
304       fi
305     fi
306   fi
307   bool 'Support only 8 pixels wide fonts' CONFIG_FBCON_FONTWIDTH8_ONLY
308   if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then
309     bool 'Sparc console 8x16 font' CONFIG_FONT_SUN8x16
310     if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
311       bool 'Sparc console 12x22 font (not supported by all drivers)' CONFIG_FONT_SUN12x22
312     fi
313     bool 'Select other fonts' CONFIG_FBCON_FONTS
314     if [ "$CONFIG_FBCON_FONTS" = "y" ]; then
315       bool '  VGA 8x8 font' CONFIG_FONT_8x8
316       bool '  VGA 8x16 font' CONFIG_FONT_8x16
317       if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
318         bool '  Mac console 6x11 font (not supported by all drivers)' CONFIG_FONT_6x11
319       fi
320       bool '  Pearl (old m68k) console 8x8 font' CONFIG_FONT_PEARL_8x8
321       bool '  Acorn console 8x8 font' CONFIG_FONT_ACORN_8x8
322     fi
323   else
324     bool 'Select compiled-in fonts' CONFIG_FBCON_FONTS
325     if [ "$CONFIG_FBCON_FONTS" = "y" ]; then
326       bool '  VGA 8x8 font' CONFIG_FONT_8x8
327       bool '  VGA 8x16 font' CONFIG_FONT_8x16
328       bool '  Sparc console 8x16 font' CONFIG_FONT_SUN8x16
329       if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
330         bool '  Sparc console 12x22 font (not supported by all drivers)' CONFIG_FONT_SUN12x22
331         bool '  Mac console 6x11 font (not supported by all drivers)' CONFIG_FONT_6x11
332       fi
333       bool '  Pearl (old m68k) console 8x8 font' CONFIG_FONT_PEARL_8x8
334       bool '  Acorn console 8x8 font' CONFIG_FONT_ACORN_8x8
335     else
336       define_bool CONFIG_FONT_8x8 y
337       define_bool CONFIG_FONT_8x16 y
338       if [ "$CONFIG_MAC" = "y" ]; then
339         if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
340           define_bool CONFIG_FONT_6x11 y
341         fi
342       fi
343       if [ "$CONFIG_AMIGA" = "y" ]; then
344         define_bool CONFIG_FONT_PEARL_8x8 y
345       fi
346       if [ "$CONFIG_ARM" = "y" -a "$CONFIG_ARCH_ACORN" = "y" ]; then
347         define_bool CONFIG_FONT_ACORN_8x8 y
348       fi
349     fi
350   fi