Import 2.3.15pre2
[davej-history.git] / drivers / video / Config.in
blob13c1af45d1145f23945bcddbc9aaa2e7b79f3fb3
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       bool '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       fi
109       bool '  Leo (ZX) support' CONFIG_FB_LEO
110     fi
111   fi
112   if [ "$ARCH" = "sparc" ]; then
113     if [ "$CONFIG_PCI" != "n" ]; then
114       bool 'PCI framebuffers' CONFIG_FB_PCI
115       if [ "$CONFIG_FB_PCI" != "n" ]; then
116         bool '  IGA 168x display support' CONFIG_FB_IGA
117       fi
118     fi
119   fi
120   if [ "$ARCH" = "sparc64" ]; then
121     if [ "$CONFIG_PCI" != "n" ]; then
122       bool 'PCI framebuffers' CONFIG_FB_PCI
123       if [ "$CONFIG_FB_PCI" != "n" ]; then
124         tristate '  ATI Mach64 display support' CONFIG_FB_ATY
125       fi
126     fi
127   fi
128   tristate 'Virtual Frame Buffer support (ONLY FOR TESTING!)' CONFIG_FB_VIRTUAL
130   bool 'Advanced low level driver options' CONFIG_FBCON_ADVANCED
131   if [ "$CONFIG_FBCON_ADVANCED" = "y" ]; then
132     tristate 'Monochrome support' CONFIG_FBCON_MFB
133     tristate '2 bpp packed pixels support' CONFIG_FBCON_CFB2
134     tristate '4 bpp packed pixels support' CONFIG_FBCON_CFB4
135     tristate '8 bpp packed pixels support' CONFIG_FBCON_CFB8
136     tristate '16 bpp packed pixels support' CONFIG_FBCON_CFB16
137     tristate '24 bpp packed pixels support' CONFIG_FBCON_CFB24
138     tristate '32 bpp packed pixels support' CONFIG_FBCON_CFB32
139     tristate 'Amiga bitplanes support' CONFIG_FBCON_AFB
140     tristate 'Amiga interleaved bitplanes support' CONFIG_FBCON_ILBM
141     tristate 'Atari interleaved bitplanes (2 planes) support' CONFIG_FBCON_IPLAN2P2
142     tristate 'Atari interleaved bitplanes (4 planes) support' CONFIG_FBCON_IPLAN2P4
143     tristate 'Atari interleaved bitplanes (8 planes) support' CONFIG_FBCON_IPLAN2P8
144 #   tristate 'Atari interleaved bitplanes (16 planes) support' CONFIG_FBCON_IPLAN2P16
145     tristate 'Mac variable bpp packed pixels support' CONFIG_FBCON_MAC
146     tristate 'VGA 16-color planar support' CONFIG_FBCON_VGA_PLANES
147     tristate 'VGA characters/attributes support' CONFIG_FBCON_VGA
148   else
149     # Guess what we need
150     if [ "$CONFIG_FB_ACORN" = "y" -o "$CONFIG_FB_AMIGA" = "y" -o \
151          "$CONFIG_FB_ATARI" = "y" -o "$CONFIG_FB_CYBER" = "y" -o \
152          "$CONFIG_FB_MAC" = "y" -o "$CONFIG_FB_RETINAZ3" = "y" -o \
153          "$CONFIG_FB_VIRGE" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
154          "$CONFIG_FB_BWTWO" = "y" -o "$CONFIG_FB_CLGEN" = "y" ]; then
155       define_bool CONFIG_FBCON_MFB y
156     else
157       if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_AMIGA" = "m" -o \
158            "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_CYBER" = "m" -o \
159            "$CONFIG_FB_MAC" = "m" -o "$CONFIG_FB_RETINAZ3" = "m" -o \
160            "$CONFIG_FB_VIRGE" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
161            "$CONFIG_FB_BWTWO" = "m" -o "$CONFIG_FB_CLGEN" = "m" ]; then
162         define_bool CONFIG_FBCON_MFB m
163       fi
164     fi
165     if [ "$CONFIG_FB_ACORN" = "y" -o "$CONFIG_FB_MAC" = "y" -o \
166          "$CONFIG_FB_VIRTUAL" = "y" ]; then
167       define_bool CONFIG_FBCON_CFB2 y
168       define_bool CONFIG_FBCON_CFB4 y
169     else
170       if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_MAC" = "m" -o \
171            "$CONFIG_FB_VIRTUAL" = "m" ]; then
172         define_bool CONFIG_FBCON_CFB2 m
173         define_bool CONFIG_FBCON_CFB4 m
174       fi
175     fi
176     if [ "$CONFIG_FB_ACORN" = "y" -o "$CONFIG_FB_ATARI" = "y" -o \
177          "$CONFIG_FB_ATY" = "y" -o "$CONFIG_FB_MAC" = "y" -o \
178          "$CONFIG_FB_OF" = "y" -o "$CONFIG_FB_TGA" = "y" -o \
179          "$CONFIG_FB_VESA" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
180          "$CONFIG_FB_TCX" = "y" -o "$CONFIG_FB_CGTHREE" = "y" -o \
181          "$CONFIG_FB_CONTROL" = "y" -o "$CONFIG_FB_CLGEN" = "y" -o \
182          "$CONFIG_FB_CGFOURTEEN" = "y" -o "$CONFIG_FB_G364" = "y" -o \
183          "$CONFIG_FB_VIRGE" = "y" -o "$CONFIG_FB_CYBER" = "y" -o \
184          "$CONFIG_FB_VALKYRIE" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \
185          "$CONFIG_FB_IGA" = "y" -o "$CONFIG_FB_MATROX" = "y" -o \
186          "$CONFIG_FB_CT65550" = "y" -o "$CONFIG_FB_PM2" = "y" -o \
187          "$CONFIG_FB_SGIVW" = "y" -o "$CONFIG_FB_CYBER2000" = "y" ]; then
188       define_bool CONFIG_FBCON_CFB8 y
189     else
190       if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_ATARI" = "m" -o \
191            "$CONFIG_FB_ATY" = "m" -o "$CONFIG_FB_MAC" = "m" -o \
192            "$CONFIG_FB_OF" = "m" -o "$CONFIG_FB_TGA" = "m" -o \
193            "$CONFIG_FB_VESA" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
194            "$CONFIG_FB_TCX" = "m" -o "$CONFIG_FB_CGTHREE" = "m" -o \
195            "$CONFIG_FB_CONTROL" = "m" -o "$CONFIG_FB_CLGEN" = "m" -o \
196            "$CONFIG_FB_CGFOURTEEN" = "m" -o "$CONFIG_FB_G364" = "m" -o \
197            "$CONFIG_FB_VIRGE" = "m" -o "$CONFIG_FB_CYBER" = "m" -o \
198            "$CONFIG_FB_VALKYRIE" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \
199            "$CONFIG_FB_IGA" = "m" -o "$CONFIG_FB_MATROX" = "m" -o \
200            "$CONFIG_FB_CT65550" = "m" -o "$CONFIG_FB_PM2" = "m" -o \
201            "$CONFIG_FB_SGIVW" = "m" -o "$CONFIG_FB_CYBER2000" = "m" ]; then
202         define_bool CONFIG_FBCON_CFB8 m
203       fi
204     fi
205     if [ "$CONFIG_FB_ATARI" = "y" -o "$CONFIG_FB_ATY" = "y" -o \
206          "$CONFIG_FB_MAC" = "y" -o "$CONFIG_FB_VESA" = "y" -o \
207          "$CONFIG_FB_VIRTUAL" = "y" -o "$CONFIG_FB_TBOX" = "y" -o \
208          "$CONFIG_FB_Q40" = "y" -o \
209          "$CONFIG_FB_CONTROL" = "y" -o "$CONFIG_FB_CLGEN" = "y" -o \
210          "$CONFIG_FB_VIRGE" = "y" -o "$CONFIG_FB_CYBER" = "y" -o \
211          "$CONFIG_FB_VALKYRIE" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \
212          "$CONFIG_FB_CT65550" = "y" -o "$CONFIG_FB_MATROX" = "y" -o \
213          "$CONFIG_FB_PM2" = "y" -o "$CONFIG_FB_SGIVW" = "y" -o \
214          "$CONFIG_FB_CYBER2000" = "y" ]; then
215       define_bool CONFIG_FBCON_CFB16 y
216     else
217       if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \
218            "$CONFIG_FB_MAC" = "m" -o "$CONFIG_FB_VESA" = "m" -o \
219            "$CONFIG_FB_VIRTUAL" = "m" -o "$CONFIG_FB_TBOX" = "m" -o \
220          "$CONFIG_FB_Q40" = "m" -o \
221            "$CONFIG_FB_CONTROL" = "m" -o "$CONFIG_FB_CLGEN" = "m" -o \
222            "$CONFIG_FB_VIRGE" = "m" -o "$CONFIG_FB_CYBER" = "m" -o \
223            "$CONFIG_FB_VALKYRIE" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \
224            "$CONFIG_FB_CT65550" = "m" -o "$CONFIG_FB_MATROX" = "m" -o \
225            "$CONFIG_FB_PM2" = "y" -o "$CONFIG_FB_SGIVW" = "m" -o \
226            "$CONFIG_FB_CYBER2000" = "m" ]; then
227         define_bool CONFIG_FBCON_CFB16 m
228       fi
229     fi
230     if [ "$CONFIG_FB_ATY" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
231          "$CONFIG_FB_CLGEN" = "y" -o "$CONFIG_FB_VESA" = "y" -o \
232           "$CONFIG_FB_MATROX" = "y" -o "$CONFIG_FB_PM2" = "y" -o \
233          "$CONFIG_FB_CYBER2000" = "y" ]; then
234       define_bool CONFIG_FBCON_CFB24 y
235     else
236       if [ "$CONFIG_FB_ATY" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
237            "$CONFIG_FB_CLGEN" = "m" -o "$CONFIG_FB_VESA" = "m" -o \
238            "$CONFIG_FB_MATROX" = "m" -o "$CONFIG_FB_PM2" = "m" -o \
239            "$CONFIG_FB_CYBER2000" = "m" ]; then
240         define_bool CONFIG_FBCON_CFB24 m
241       fi
242     fi
243     if [ "$CONFIG_FB_ATARI" = "y" -o "$CONFIG_FB_ATY" = "y" -o \
244          "$CONFIG_FB_VESA" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
245          "$CONFIG_FB_CONTROL" = "y" -o "$CONFIG_FB_CLGEN" = "y" -o \
246          "$CONFIG_FB_TGA" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \
247          "$CONFIG_FB_MATROX" = "y" -o "$CONFIG_FB_PM2" = "y" -o \
248          "$CONFIG_FB_FM2" = "y" -o "$CONFIG_FB_SGIVW" = "y" ]; then
249       define_bool CONFIG_FBCON_CFB32 y
250     else
251       if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \
252            "$CONFIG_FB_VESA" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
253            "$CONFIG_FB_CONTROL" = "m" -o "$CONFIG_FB_CLGEN" = "m" -o \
254            "$CONFIG_FB_TGA" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \
255            "$CONFIG_FB_MATROX" = "m" -o "$CONFIG_FB_PM2" = "m" -o \
256            "$CONFIG_FB_SGIVW" = "m" ]; then
257         define_bool CONFIG_FBCON_CFB32 m
258       fi
259     fi
260     if [ "$CONFIG_FB_AMIGA" = "y" ]; then
261       define_bool CONFIG_FBCON_AFB y
262       define_bool CONFIG_FBCON_ILBM y
263     else
264       if [ "$CONFIG_FB_AMIGA" = "m" ]; then
265         define_bool CONFIG_FBCON_AFB m
266         define_bool CONFIG_FBCON_ILBM m
267       fi
268     fi
269     if [ "$CONFIG_FB_ATARI" = "y" ]; then
270       define_bool CONFIG_FBCON_IPLAN2P2 y
271       define_bool CONFIG_FBCON_IPLAN2P4 y
272       define_bool CONFIG_FBCON_IPLAN2P8 y
273 #     define_bool CONFIG_FBCON_IPLAN2P16 y
274     else
275       if [ "$CONFIG_FB_ATARI" = "m" ]; then
276         define_bool CONFIG_FBCON_IPLAN2P2 m
277         define_bool CONFIG_FBCON_IPLAN2P4 m
278         define_bool CONFIG_FBCON_IPLAN2P8 m
279 #       define_bool CONFIG_FBCON_IPLAN2P16 m
280       fi
281     fi
282     if [ "$CONFIG_FB_MAC" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" ]; then
283       define_bool CONFIG_FBCON_MAC  y
284     else
285       if [ "$CONFIG_FB_MAC" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" ]; then
286         define_bool CONFIG_FBCON_MAC  m
287       fi
288     fi
289     if [ "$CONFIG_FB_VGA16" = "y" ]; then
290       define_bool CONFIG_FBCON_VGA_PLANES y
291     else
292       if [ "$CONFIG_FB_VGA16" = "m" ]; then
293         define_bool CONFIG_FBCON_VGA_PLANES m
294       fi
295     fi
296     if [ "$CONFIG_FB_MDA" = "y" -o "$CONFIG_FB_VGA" = "y" ]; then
297       define_bool CONFIG_FBCON_VGA y
298     else
299       if [ "$CONFIG_FB_MDA" = "m" -o "$CONFIG_FB_VGA" = "m" ]; then
300         define_bool CONFIG_FBCON_VGA m
301       fi
302     fi
303   fi
304   bool 'Support only 8 pixels wide fonts' CONFIG_FBCON_FONTWIDTH8_ONLY
305   if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then
306     bool 'Sparc console 8x16 font' CONFIG_FONT_SUN8x16
307     if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
308       bool 'Sparc console 12x22 font (not supported by all drivers)' CONFIG_FONT_SUN12x22
309     fi
310     bool 'Select other fonts' CONFIG_FBCON_FONTS
311     if [ "$CONFIG_FBCON_FONTS" = "y" ]; then
312       bool '  VGA 8x8 font' CONFIG_FONT_8x8
313       bool '  VGA 8x16 font' CONFIG_FONT_8x16
314       if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
315         bool '  Mac console 6x11 font (not supported by all drivers)' CONFIG_FONT_6x11
316       fi
317       bool '  Pearl (old m68k) console 8x8 font' CONFIG_FONT_PEARL_8x8
318       bool '  Acorn console 8x8 font' CONFIG_FONT_ACORN_8x8
319     fi
320   else
321     bool 'Select compiled-in fonts' CONFIG_FBCON_FONTS
322     if [ "$CONFIG_FBCON_FONTS" = "y" ]; then
323       bool '  VGA 8x8 font' CONFIG_FONT_8x8
324       bool '  VGA 8x16 font' CONFIG_FONT_8x16
325       bool '  Sparc console 8x16 font' CONFIG_FONT_SUN8x16
326       if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
327         bool '  Sparc console 12x22 font (not supported by all drivers)' CONFIG_FONT_SUN12x22
328         bool '  Mac console 6x11 font (not supported by all drivers)' CONFIG_FONT_6x11
329       fi
330       bool '  Pearl (old m68k) console 8x8 font' CONFIG_FONT_PEARL_8x8
331       bool '  Acorn console 8x8 font' CONFIG_FONT_ACORN_8x8
332     else
333       define_bool CONFIG_FONT_8x8 y
334       define_bool CONFIG_FONT_8x16 y
335       if [ "$CONFIG_MAC" = "y" ]; then
336         if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
337           define_bool CONFIG_FONT_6x11 y
338         fi
339       fi
340       if [ "$CONFIG_AMIGA" = "y" ]; then
341         define_bool CONFIG_FONT_PEARL_8x8 y
342       fi
343       if [ "$CONFIG_ARM" = "y" -a "$CONFIG_ARCH_ACORN" = "y" ]; then
344         define_bool CONFIG_FONT_ACORN_8x8 y
345       fi
346     fi
347   fi