Linux 2.1.117
[davej-history.git] / drivers / video / Config.in
blobe7bea22d6ef0703b158aaa75bbf1aa490da30990
2 # Video configuration
5 if [ "$CONFIG_FB" = "y" ]; then
6   define_bool CONFIG_DUMMY_CONSOLE y
7   if [ "$CONFIG_ARCH_ACORN" = "y" ]; then
8     bool 'Acorn VIDC support' CONFIG_FB_ACORN
9   fi
10   if [ "$CONFIG_APOLLO" = "y" ]; then
11     define_bool CONFIG_FB_APOLLO y
12   fi
13   if [ "$CONFIG_AMIGA" = "y" ]; then
14     bool 'Amiga native chipset support' CONFIG_FB_AMIGA
15     if [ "$CONFIG_FB_AMIGA" != "n" ]; then
16       bool 'Amiga OCS chipset support' CONFIG_FB_AMIGA_OCS
17       bool 'Amiga ECS chipset support' CONFIG_FB_AMIGA_ECS
18       bool 'Amiga AGA chipset support' CONFIG_FB_AMIGA_AGA
19     fi
20   fi
21   if [ "$CONFIG_ZORRO" = "y" ]; then
22     tristate 'Amiga CyberVision support' CONFIG_FB_CYBER
23     if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
24       bool 'Amiga CyberVision3D support (experimental)' CONFIG_FB_VIRGE
25       tristate 'Amiga RetinaZ3 support' CONFIG_FB_RETINAZ3
26       tristate 'Amiga CLgen driver' CONFIG_FB_CLGEN
27     fi
28   fi
29   if [ "$CONFIG_ATARI" = "y" ]; then
30     bool 'Atari native chipset support' CONFIG_FB_ATARI
31     bool 'ATI Mach64 display support' CONFIG_FB_ATY
32   fi
33   if [ "$CONFIG_PPC" = "y" ]; then
34     bool 'Open Firmware frame buffer device support' CONFIG_FB_OF
35     if [ "$CONFIG_FB_OF" = "y" ]; then
36       bool 'Apple "control" display support' CONFIG_FB_CONTROL
37       bool 'Apple "platinum" display support' CONFIG_FB_PLATINUM
38 #     bool 'Apple "valkyrie" display support' CONFIG_FB_VALKYRIE
39       bool 'ATI Mach64 display support' CONFIG_FB_ATY
40 #     bool 'IMS Twin Turbo display support' CONFIG_FB_IMSTT
41       bool 'Chips 65550 display support' CONFIG_FB_CT65550
42       bool 'S3 Trio display support' CONFIG_FB_S3TRIO
43     fi
44   fi
45   if [ "$CONFIG_MAC" = "y" ]; then
46     define_bool CONFIG_FB_MAC y
47   fi
48   if [ "$CONFIG_HP300" = "y" ]; then
49     define_bool CONFIG_FB_HP300 y
50   fi
51   # I used CONFIG_ARM here because the ARCH construct doesn't seem to work
52   # with xconfig.  --pb
53   if [ "$ARCH" = "i386" -o "$ARCH" = "alpha" -o "$ARCH" = "ppc" -o \
54        "$CONFIG_ARM" = "y" ]; then
55     if [ "$CONFIG_ARM" != "y" -o "$CONFIG_ARCH_ACORN" != "y" ] ; then
56       tristate 'Deprecated almost-VGA support (text only - use normal VGA console instead)' CONFIG_FB_VGA
57     fi
58   fi
59   if [ "$ARCH" = "alpha" ]; then
60     tristate 'TGA framebuffer support' CONFIG_FB_TGA
61   fi
62   if [ "$ARCH" = "i386" ]; then
63     bool 'VESA VGA graphics console' CONFIG_FB_VESA
64     define_bool CONFIG_VIDEO_SELECT y
65     tristate 'MDA dual-headed support' CONFIG_FB_MDA
66   fi
67   if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then
68     bool 'SBUS and UPA framebuffers' CONFIG_FB_SBUS
69     if [ "$CONFIG_FB_SBUS" != "n" ]; then
70       if [ "$ARCH" = "sparc64" ]; then
71         bool '  Creator/Creator3D support' CONFIG_FB_CREATOR
72       fi
73       bool '  CGsix (GX,TurboGX) support' CONFIG_FB_CGSIX
74       bool '  BWtwo support' CONFIG_FB_BWTWO
75       bool '  CGthree support' CONFIG_FB_CGTHREE
76       if [ "$ARCH" = "sparc" ]; then
77         bool '  TCX (SS4/SS5 only) support' CONFIG_FB_TCX
78       fi
79     fi
80   fi
81   if [ "$ARCH" = "sparc64" ]; then
82     if [ "$CONFIG_PCI" != "n" ]; then
83       bool 'PCI framebuffers' CONFIG_FB_PCI
84       if [ "$CONFIG_FB_PCI" != "n" ]; then
85         bool '  ATI Mach64 display support' CONFIG_FB_ATY
86       fi
87     fi
88   fi
89   tristate 'Virtual Frame Buffer support (ONLY FOR TESTING!)' CONFIG_FB_VIRTUAL
91   bool 'Advanced low level driver options' CONFIG_FBCON_ADVANCED
92   if [ "$CONFIG_FBCON_ADVANCED" = "y" ]; then
93     tristate 'Monochrome support' CONFIG_FBCON_MFB
94     tristate '2 bpp packed pixels support' CONFIG_FBCON_CFB2
95     tristate '4 bpp packed pixels support' CONFIG_FBCON_CFB4
96     tristate '8 bpp packed pixels support' CONFIG_FBCON_CFB8
97     tristate '16 bpp packed pixels support' CONFIG_FBCON_CFB16
98     tristate '24 bpp packed pixels support' CONFIG_FBCON_CFB24
99     tristate '32 bpp packed pixels support' CONFIG_FBCON_CFB32
100     tristate 'Amiga bitplanes support' CONFIG_FBCON_AFB
101     tristate 'Amiga interleaved bitplanes support' CONFIG_FBCON_ILBM
102     tristate 'Atari interleaved bitplanes (2 planes) support' CONFIG_FBCON_IPLAN2P2
103     tristate 'Atari interleaved bitplanes (4 planes) support' CONFIG_FBCON_IPLAN2P4
104     tristate 'Atari interleaved bitplanes (8 planes) support' CONFIG_FBCON_IPLAN2P8
105 #   tristate 'Atari interleaved bitplanes (16 planes) support' CONFIG_FBCON_IPLAN2P16
106     tristate 'Mac variable bpp packed pixels support' CONFIG_FBCON_MAC
107     tristate 'VGA characters/attributes support' CONFIG_FBCON_VGA
108   else
109     # Guess what we need
110     if [ "$CONFIG_FB_ACORN" = "y" -o "$CONFIG_FB_AMIGA" = "y" -o \
111          "$CONFIG_FB_ATARI" = "y" -o "$CONFIG_FB_CYBER" = "y" -o \
112          "$CONFIG_FB_MAC" = "y" -o "$CONFIG_FB_RETINAZ3" = "y" -o \
113          "$CONFIG_FB_VIRGE" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
114          "$CONFIG_FB_BWTWO" = "y" -o "$CONFIG_FB_CLGEN" = "y" ]; then
115       define_bool CONFIG_FBCON_MFB y
116     else
117       if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_AMIGA" = "m" -o \
118            "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_CYBER" = "m" -o \
119            "$CONFIG_FB_MAC" = "m" -o "$CONFIG_FB_RETINAZ3" = "m" -o \
120            "$CONFIG_FB_VIRGE" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
121            "$CONFIG_FB_BWTWO" = "m" -o "$CONFIG_FB_CLGEN" = "m" ]; then
122         define_bool CONFIG_FBCON_MFB m
123       fi
124     fi
125     if [ "$CONFIG_FB_ACORN" = "y" -o "$CONFIG_FB_MAC" = "y" -o \
126          "$CONFIG_FB_VIRTUAL" = "y" ]; then
127       define_bool CONFIG_FBCON_CFB2 y
128       define_bool CONFIG_FBCON_CFB4 y
129     else
130       if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_MAC" = "m" -o \
131            "$CONFIG_FB_VIRTUAL" = "m" ]; then
132         define_bool CONFIG_FBCON_CFB2 m
133         define_bool CONFIG_FBCON_CFB4 m
134       fi
135     fi
136     if [ "$CONFIG_FB_ACORN" = "y" -o "$CONFIG_FB_ATARI" = "y" -o \
137          "$CONFIG_FB_ATY" = "y" -o "$CONFIG_FB_MAC" = "y" -o \
138          "$CONFIG_FB_OF" = "y" -o "$CONFIG_FB_TGA" = "y" -o \
139          "$CONFIG_FB_VESA" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
140          "$CONFIG_FB_TCX" = "y" -o "$CONFIG_FB_CGTHREE" = "y" -o \
141          "$CONFIG_FB_CONTROL" = "y" -o "$CONFIG_FB_CLGEN" = "y" ]; then
142       define_bool CONFIG_FBCON_CFB8 y
143     else
144       if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_ATARI" = "m" -o \
145            "$CONFIG_FB_ATY" = "y" -o "$CONFIG_FB_MAC" = "y" -o \
146            "$CONFIG_FB_OF" = "m" -o "$CONFIG_FB_TGA" = "m" -o \
147            "$CONFIG_FB_VESA" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
148            "$CONFIG_FB_TCX" = "m" -o "$CONFIG_FB_CGTHREE" = "m" -o \
149            "$CONFIG_FB_CONTROL" = "m" ]; then
150         define_bool CONFIG_FBCON_CFB8 m
151       fi
152     fi
153     if [ "$CONFIG_FB_ATARI" = "y" -o "$CONFIG_FB_ATY" = "y" -o \
154          "$CONFIG_FB_MAC" = "y" -o "$CONFIG_FB_VESA" = "y" -o \
155          "$CONFIG_FB_VIRTUAL" = "y" -o "$CONFIG_FB_TBOX" = "y" -o \
156          "$CONFIG_FB_CONTROL" = "y" -o "$CONFIG_FB_CLGEN" = "y" ]; then
157       define_bool CONFIG_FBCON_CFB16 y
158     else
159       if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \
160            "$CONFIG_FB_MAC" = "m" -o "$CONFIG_FB_VESA" = "m" -o \
161            "$CONFIG_FB_VIRTUAL" = "m" -o "$CONFIG_FB_TBOX" = "m" -o \
162            "$CONFIG_FB_CONTROL" = "m" -o "$CONFIG_FB_CLGEN" = "m" ]; then
163         define_bool CONFIG_FBCON_CFB16 m
164       fi
165     fi
166     if [ "$CONFIG_FB_ATY" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
167          "$CONFIG_FB_CLGEN" = "y" ]; then
168       define_bool CONFIG_FBCON_CFB24 y
169     else
170       if [ "$CONFIG_FB_ATY" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
171            "$CONFIG_FB_CLGEN" = "m" ]; then
172         define_bool CONFIG_FBCON_CFB24 m
173       fi
174     fi
175     if [ "$CONFIG_FB_ATARI" = "y" -o "$CONFIG_FB_ATY" = "y" -o \
176          "$CONFIG_FB_VESA" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \
177          "$CONFIG_FB_CONTROL" = "y" -o "$CONFIG_FB_CLGEN" = "y" ]; then
178       define_bool CONFIG_FBCON_CFB32 y
179     else
180       if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \
181            "$CONFIG_FB_VESA" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \
182            "$CONFIG_FB_CONTROL" = "m" -o "$CONFIG_FB_CLGEN" = "m" ]; then
183         define_bool CONFIG_FBCON_CFB32 m
184       fi
185     fi
186     if [ "$CONFIG_FB_AMIGA" = "y" ]; then
187       define_bool CONFIG_FBCON_AFB y
188       define_bool CONFIG_FBCON_ILBM y
189     else
190       if [ "$CONFIG_FB_AMIGA" = "m" ]; then
191         define_bool CONFIG_FBCON_AFB m
192         define_bool CONFIG_FBCON_ILBM m
193       fi
194     fi
195     if [ "$CONFIG_FB_ATARI" = "y" ]; then
196       define_bool CONFIG_FBCON_IPLAN2P2 y
197       define_bool CONFIG_FBCON_IPLAN2P4 y
198       define_bool CONFIG_FBCON_IPLAN2P8 y
199 #     define_bool CONFIG_FBCON_IPLAN2P16 y
200     else
201       if [ "$CONFIG_FB_ATARI" = "m" ]; then
202         define_bool CONFIG_FBCON_IPLAN2P2 m
203         define_bool CONFIG_FBCON_IPLAN2P4 m
204         define_bool CONFIG_FBCON_IPLAN2P8 m
205 #       define_bool CONFIG_FBCON_IPLAN2P16 m
206       fi
207     fi
208     if [ "$CONFIG_FB_MAC" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" ]; then
209       define_bool CONFIG_FBCON_MAC  y
210     else
211       if [ "$CONFIG_FB_MAC" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" ]; then
212         define_bool CONFIG_FBCON_MAC  m
213       fi
214     fi
215     if [ "$CONFIG_FB_MDA" = "y" -o "$CONFIG_FB_VGA" = "y" ]; then
216       define_bool CONFIG_FBCON_VGA y
217     else
218       if [ "$CONFIG_FB_MDA" = "m" -o "$CONFIG_FB_VGA" = "m" ]; then
219         define_bool CONFIG_FBCON_VGA m
220       fi
221     fi
222   fi
223   bool 'Support only 8 pixels wide fonts' CONFIG_FBCON_FONTWIDTH8_ONLY
224   if [ "$ARCH" = "sparc" -o "$ARCH" = "sparc64" ]; then
225     bool 'Sparc console 8x16 font' CONFIG_FONT_SUN8x16
226     if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
227       bool 'Sparc console 12x22 font (not supported by all drivers)' CONFIG_FONT_SUN12x22
228     fi
229     bool 'Select other fonts' CONFIG_FBCON_FONTS
230     if [ "$CONFIG_FBCON_FONTS" = "y" ]; then
231       bool '  VGA 8x8 font' CONFIG_FONT_8x8
232       bool '  VGA 8x16 font' CONFIG_FONT_8x16
233       if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
234         bool '  Mac console 6x11 font (not supported by all drivers)' CONFIG_FONT_6x11
235       fi
236       bool '  Pearl (old m68k) console 8x8 font' CONFIG_FONT_PEARL_8x8
237       bool '  Acorn console 8x8 font' CONFIG_FONT_ACORN_8x8
238     fi
239   else
240     bool 'Select compiled-in fonts' CONFIG_FBCON_FONTS
241     if [ "$CONFIG_FBCON_FONTS" = "y" ]; then
242       bool '  VGA 8x8 font' CONFIG_FONT_8x8
243       bool '  VGA 8x16 font' CONFIG_FONT_8x16
244       bool '  Sparc console 8x16 font' CONFIG_FONT_SUN8x16
245       if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
246         bool '  Sparc console 12x22 font (not supported by all drivers)' CONFIG_FONT_SUN12x22
247         bool '  Mac console 6x11 font (not supported by all drivers)' CONFIG_FONT_6x11
248       fi
249       bool '  Pearl (old m68k) console 8x8 font' CONFIG_FONT_PEARL_8x8
250       bool '  Acorn console 8x8 font' CONFIG_FONT_ACORN_8x8
251     else
252       define_bool CONFIG_FONT_8x8 y
253       define_bool CONFIG_FONT_8x16 y
254       if [ "$CONFIG_MAC" = "y" ]; then
255         if [ "$CONFIG_FBCON_FONTWIDTH8_ONLY" = "n" ]; then
256           define_bool CONFIG_FONT_6x11 y
257         fi
258       fi
259       if [ "$CONFIG_AMIGA" = "y" ]; then
260         define_bool CONFIG_FONT_PEARL_8x8 y
261       fi
262       if [ "$CONFIG_ARM" = "y" ]; then
263         define_bool CONFIG_FONT_ACORN_8x8 y
264       fi
265     fi
266   fi