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