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