diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-10-06 00:44:18 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-10-06 01:00:47 -0400 |
commit | fed94549edc90b15fb3cd13e79026db51d6d55ce (patch) | |
tree | dfac41c7c0ad0329ddc108e986bfb43f5fd65672 /drivers | |
parent | acf442dc560437858e6a4c904678052616f8226e (diff) |
Input: libps2 - fix dependancy on i8042
libps2 can not be built in if i8042 is a module, all other combinations
are allowed.
Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/serio/Kconfig | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig index c4b3fbd1a80f..aa533ceffe34 100644 --- a/drivers/input/serio/Kconfig +++ b/drivers/input/serio/Kconfig | |||
@@ -4,7 +4,7 @@ | |||
4 | config SERIO | 4 | config SERIO |
5 | tristate "Serial I/O support" if EMBEDDED || !X86 | 5 | tristate "Serial I/O support" if EMBEDDED || !X86 |
6 | default y | 6 | default y |
7 | ---help--- | 7 | help |
8 | Say Yes here if you have any input device that uses serial I/O to | 8 | Say Yes here if you have any input device that uses serial I/O to |
9 | communicate with the system. This includes the | 9 | communicate with the system. This includes the |
10 | * standard AT keyboard and PS/2 mouse * | 10 | * standard AT keyboard and PS/2 mouse * |
@@ -22,7 +22,7 @@ config SERIO_I8042 | |||
22 | tristate "i8042 PC Keyboard controller" if EMBEDDED || !X86 | 22 | tristate "i8042 PC Keyboard controller" if EMBEDDED || !X86 |
23 | default y | 23 | default y |
24 | depends on !PARISC && (!ARM || ARCH_SHARK || FOOTBRIDGE_HOST) && !M68K && !BLACKFIN | 24 | depends on !PARISC && (!ARM || ARCH_SHARK || FOOTBRIDGE_HOST) && !M68K && !BLACKFIN |
25 | ---help--- | 25 | help |
26 | i8042 is the chip over which the standard AT keyboard and PS/2 | 26 | i8042 is the chip over which the standard AT keyboard and PS/2 |
27 | mouse are connected to the computer. If you use these devices, | 27 | mouse are connected to the computer. If you use these devices, |
28 | you'll need to say Y here. | 28 | you'll need to say Y here. |
@@ -35,7 +35,7 @@ config SERIO_I8042 | |||
35 | config SERIO_SERPORT | 35 | config SERIO_SERPORT |
36 | tristate "Serial port line discipline" | 36 | tristate "Serial port line discipline" |
37 | default y | 37 | default y |
38 | ---help--- | 38 | help |
39 | Say Y here if you plan to use an input device (mouse, joystick, | 39 | Say Y here if you plan to use an input device (mouse, joystick, |
40 | tablet, 6dof) that communicates over the RS232 serial (COM) port. | 40 | tablet, 6dof) that communicates over the RS232 serial (COM) port. |
41 | 41 | ||
@@ -49,7 +49,7 @@ config SERIO_SERPORT | |||
49 | config SERIO_CT82C710 | 49 | config SERIO_CT82C710 |
50 | tristate "ct82c710 Aux port controller" | 50 | tristate "ct82c710 Aux port controller" |
51 | depends on X86 | 51 | depends on X86 |
52 | ---help--- | 52 | help |
53 | Say Y here if you have a Texas Instruments TravelMate notebook | 53 | Say Y here if you have a Texas Instruments TravelMate notebook |
54 | equipped with the ct82c710 chip and want to use a mouse connected | 54 | equipped with the ct82c710 chip and want to use a mouse connected |
55 | to the "QuickPort". | 55 | to the "QuickPort". |
@@ -66,7 +66,7 @@ config SERIO_Q40KBD | |||
66 | config SERIO_PARKBD | 66 | config SERIO_PARKBD |
67 | tristate "Parallel port keyboard adapter" | 67 | tristate "Parallel port keyboard adapter" |
68 | depends on PARPORT | 68 | depends on PARPORT |
69 | ---help--- | 69 | help |
70 | Say Y here if you built a simple parallel port adapter to attach | 70 | Say Y here if you built a simple parallel port adapter to attach |
71 | an additional AT keyboard, XT keyboard or PS/2 mouse. | 71 | an additional AT keyboard, XT keyboard or PS/2 mouse. |
72 | 72 | ||
@@ -124,7 +124,7 @@ config HP_SDC | |||
124 | tristate "HP System Device Controller i8042 Support" | 124 | tristate "HP System Device Controller i8042 Support" |
125 | depends on (GSC || HP300) && SERIO | 125 | depends on (GSC || HP300) && SERIO |
126 | default y | 126 | default y |
127 | ---help--- | 127 | help |
128 | This option enables support for the "System Device | 128 | This option enables support for the "System Device |
129 | Controller", an i8042 carrying microcode to manage a | 129 | Controller", an i8042 carrying microcode to manage a |
130 | few miscellaneous devices on some Hewlett Packard systems. | 130 | few miscellaneous devices on some Hewlett Packard systems. |
@@ -168,6 +168,7 @@ config SERIO_MACEPS2 | |||
168 | 168 | ||
169 | config SERIO_LIBPS2 | 169 | config SERIO_LIBPS2 |
170 | tristate "PS/2 driver library" if EMBEDDED | 170 | tristate "PS/2 driver library" if EMBEDDED |
171 | depends on SERIO_I8042 || SERIO_I8042=n | ||
171 | help | 172 | help |
172 | Say Y here if you are using a driver for device connected | 173 | Say Y here if you are using a driver for device connected |
173 | to a PS/2 port, such as PS/2 mouse or standard AT keyboard. | 174 | to a PS/2 port, such as PS/2 mouse or standard AT keyboard. |