2e18a63ead36d735049d7297fedbc1c77b53d5db
[safe/jmp/linux-2.6] / drivers / auxdisplay / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5 # Auxiliary display drivers configuration.
6 #
7
8 menu "Auxiliary Display support"
9         depends on PARPORT
10
11 config KS0108
12         tristate "KS0108 LCD Controller"
13         depends on PARPORT_PC
14         default n
15         ---help---
16           If you have a LCD controlled by one or more KS0108
17           controllers, say Y. You will need also another more specific
18           driver for your LCD.
19
20           Depends on Parallel Port support. If you say Y at
21           parport, you will be able to compile this as a module (M)
22           and built-in as well (Y).
23
24           To compile this as a module, choose M here:
25           the module will be called ks0108.
26
27           If unsure, say N.
28
29 config KS0108_PORT
30         hex "Parallel port where the LCD is connected"
31         depends on KS0108
32         default 0x378
33         ---help---
34           The address of the parallel port where the LCD is connected.
35
36           The first  standard parallel port address is 0x378.
37           The second standard parallel port address is 0x278.
38           The third  standard parallel port address is 0x3BC.
39
40           You can specify a different address if you need.
41
42           If you don't know what I'm talking about, load the parport module,
43           and execute "dmesg" or "cat /proc/ioports". You can see there how
44           many parallel ports are present and which address each one has.
45
46           Usually you only need to use 0x378.
47
48           If you compile this as a module, you can still override this
49           using the module parameters.
50
51 config KS0108_DELAY
52         int "Delay between each control writing (microseconds)"
53         depends on KS0108
54         default "2"
55         ---help---
56           Amount of time the ks0108 should wait between each control write
57           to the parallel port.
58
59           If your driver seems to miss random writings, increment this.
60
61           If you don't know what I'm talking about, ignore it.
62
63           If you compile this as a module, you can still override this
64           value using the module parameters.
65
66 config CFAG12864B
67         tristate "CFAG12864B LCD"
68         depends on X86
69         depends on FB
70         depends on KS0108
71         default n
72         ---help---
73           If you have a Crystalfontz 128x64 2-color LCD, cfag12864b Series,
74           say Y. You also need the ks0108 LCD Controller driver.
75
76           For help about how to wire your LCD to the parallel port,
77           check Documentation/auxdisplay/cfag12864b
78
79           Depends on the x86 arch and the framebuffer support.
80
81           The LCD framebuffer driver can be attached to a console.
82           It will work fine. However, you can't attach it to the fbdev driver
83           of the xorg server.
84
85           To compile this as a module, choose M here:
86           the modules will be called cfag12864b and cfag12864bfb.
87
88           If unsure, say N.
89
90 config CFAG12864B_RATE
91        int "Refresh rate (hertz)"
92         depends on CFAG12864B
93         default "20"
94         ---help---
95           Refresh rate of the LCD.
96
97           As the LCD is not memory mapped, the driver has to make the work by
98           software. This means you should be careful setting this value higher.
99           If your CPUs are really slow or you feel the system is slowed down,
100           decrease the value.
101
102           Be careful modifying this value to a very high value:
103           You can freeze the computer, or the LCD maybe can't draw as fast as you
104           are requesting.
105
106           If you don't know what I'm talking about, ignore it.
107
108           If you compile this as a module, you can still override this
109           value using the module parameters.
110 endmenu