aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CREDITS8
-rw-r--r--drivers/Kconfig2
-rw-r--r--drivers/Makefile1
-rw-r--r--drivers/hid/Kconfig18
-rw-r--r--drivers/hid/Makefile15
-rw-r--r--drivers/input/Makefile1
-rw-r--r--drivers/usb/input/Kconfig21
-rw-r--r--drivers/usb/input/Makefile3
8 files changed, 51 insertions, 18 deletions
diff --git a/CREDITS b/CREDITS
index d0880082c19b..8218e790f43d 100644
--- a/CREDITS
+++ b/CREDITS
@@ -1808,6 +1808,14 @@ S: Kruislaan 419
1808S: 1098 VA Amsterdam 1808S: 1098 VA Amsterdam
1809S: The Netherlands 1809S: The Netherlands
1810 1810
1811N: Jiri Kosina
1812E: jikos@jikos.cz
1813E: jkosina@suse.cz
1814D: Generic HID layer - original code split, fixes
1815D: Various ACPI fixes, keeping correct battery state through suspend
1816D: various lockdep annotations, autofs and other random bugfixes
1817S: Prague, Czech Republic
1818
1811N: Gene Kozin 1819N: Gene Kozin
1812E: 74604.152@compuserve.com 1820E: 74604.152@compuserve.com
1813W: http://www.sangoma.com 1821W: http://www.sangoma.com
diff --git a/drivers/Kconfig b/drivers/Kconfig
index f39463418904..4929e923b5c6 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -64,6 +64,8 @@ source "drivers/video/Kconfig"
64 64
65source "sound/Kconfig" 65source "sound/Kconfig"
66 66
67source "drivers/hid/Kconfig"
68
67source "drivers/usb/Kconfig" 69source "drivers/usb/Kconfig"
68 70
69source "drivers/mmc/Kconfig" 71source "drivers/mmc/Kconfig"
diff --git a/drivers/Makefile b/drivers/Makefile
index 67711770b1d9..50f76da598c9 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -77,4 +77,5 @@ obj-$(CONFIG_CRYPTO) += crypto/
77obj-$(CONFIG_SUPERH) += sh/ 77obj-$(CONFIG_SUPERH) += sh/
78obj-$(CONFIG_GENERIC_TIME) += clocksource/ 78obj-$(CONFIG_GENERIC_TIME) += clocksource/
79obj-$(CONFIG_DMA_ENGINE) += dma/ 79obj-$(CONFIG_DMA_ENGINE) += dma/
80obj-$(CONFIG_HID) += hid/
80obj-$(CONFIG_PPC_PS3) += ps3/ 81obj-$(CONFIG_PPC_PS3) += ps3/
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
new file mode 100644
index 000000000000..96d4a0bb2203
--- /dev/null
+++ b/drivers/hid/Kconfig
@@ -0,0 +1,18 @@
1#
2# HID driver configuration
3#
4menu "HID Devices"
5 depends on INPUT
6
7config HID
8 tristate "Generic HID support"
9 default y
10 ---help---
11 Say Y here if you want generic HID support to connect keyboards,
12 mice, joysticks, graphic tablets, or any other HID based devices
13 to your computer. You also need to select particular types of
14 HID devices you want to compile support for, in the particular
15 driver menu (USB, Bluetooth)
16
17endmenu
18
diff --git a/drivers/hid/Makefile b/drivers/hid/Makefile
new file mode 100644
index 000000000000..6432392110bf
--- /dev/null
+++ b/drivers/hid/Makefile
@@ -0,0 +1,15 @@
1#
2# Makefile for the HID driver
3#
4
5# Multipart objects.
6hid-objs := hid-core.o hid-input.o
7
8# Optional parts of multipart objects.
9
10obj-$(CONFIG_HID) += hid.o
11
12ifeq ($(CONFIG_INPUT_DEBUG),y)
13EXTRA_CFLAGS += -DDEBUG
14endif
15
diff --git a/drivers/input/Makefile b/drivers/input/Makefile
index a005b1df5f1a..da575deb3c7a 100644
--- a/drivers/input/Makefile
+++ b/drivers/input/Makefile
@@ -21,3 +21,4 @@ obj-$(CONFIG_INPUT_MOUSE) += mouse/
21obj-$(CONFIG_INPUT_JOYSTICK) += joystick/ 21obj-$(CONFIG_INPUT_JOYSTICK) += joystick/
22obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/ 22obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/
23obj-$(CONFIG_INPUT_MISC) += misc/ 23obj-$(CONFIG_INPUT_MISC) += misc/
24
diff --git a/drivers/usb/input/Kconfig b/drivers/usb/input/Kconfig
index 9b075319ed5e..8a62d4785755 100644
--- a/drivers/usb/input/Kconfig
+++ b/drivers/usb/input/Kconfig
@@ -6,9 +6,10 @@ comment "USB Input Devices"
6 6
7config USB_HID 7config USB_HID
8 tristate "USB Human Interface Device (full HID) support" 8 tristate "USB Human Interface Device (full HID) support"
9 depends on USB && BROKEN 9 default y
10 depends on USB && HID
10 ---help--- 11 ---help---
11 Say Y here if you want full HID support to connect keyboards, 12 Say Y here if you want full HID support to connect USB keyboards,
12 mice, joysticks, graphic tablets, or any other HID based devices 13 mice, joysticks, graphic tablets, or any other HID based devices
13 to your computer via USB. You also need to select HID Input layer 14 to your computer via USB. You also need to select HID Input layer
14 support (below) if you want to use keyboards, mice, joysticks and 15 support (below) if you want to use keyboards, mice, joysticks and
@@ -27,20 +28,10 @@ config USB_HID
27comment "Input core support is needed for USB HID input layer or HIDBP support" 28comment "Input core support is needed for USB HID input layer or HIDBP support"
28 depends on USB_HID && INPUT=n 29 depends on USB_HID && INPUT=n
29 30
30config USB_HIDINPUT 31config USB_HID_POWERBOOK
31 bool "HID input layer support"
32 default y
33 depends on INPUT && USB_HID
34 help
35 Say Y here if you want to use a USB keyboard, mouse or joystick,
36 or any other HID input device.
37
38 If unsure, say Y.
39
40config USB_HIDINPUT_POWERBOOK
41 bool "Enable support for iBook/PowerBook special keys" 32 bool "Enable support for iBook/PowerBook special keys"
42 default n 33 default n
43 depends on USB_HIDINPUT 34 depends on USB_HID
44 help 35 help
45 Say Y here if you want support for the special keys (Fn, Numlock) on 36 Say Y here if you want support for the special keys (Fn, Numlock) on
46 Apple iBooks and PowerBooks. 37 Apple iBooks and PowerBooks.
@@ -49,7 +40,7 @@ config USB_HIDINPUT_POWERBOOK
49 40
50config HID_FF 41config HID_FF
51 bool "Force feedback support (EXPERIMENTAL)" 42 bool "Force feedback support (EXPERIMENTAL)"
52 depends on USB_HIDINPUT && EXPERIMENTAL 43 depends on USB_HID && EXPERIMENTAL
53 help 44 help
54 Say Y here is you want force feedback support for a few HID devices. 45 Say Y here is you want force feedback support for a few HID devices.
55 See below for a list of supported devices. 46 See below for a list of supported devices.
diff --git a/drivers/usb/input/Makefile b/drivers/usb/input/Makefile
index d946d5213b30..1a24b5bfa05f 100644
--- a/drivers/usb/input/Makefile
+++ b/drivers/usb/input/Makefile
@@ -11,9 +11,6 @@ usbhid-objs := hid-core.o
11ifeq ($(CONFIG_USB_HIDDEV),y) 11ifeq ($(CONFIG_USB_HIDDEV),y)
12 usbhid-objs += hiddev.o 12 usbhid-objs += hiddev.o
13endif 13endif
14ifeq ($(CONFIG_USB_HIDINPUT),y)
15 usbhid-objs += hid-input.o
16endif
17ifeq ($(CONFIG_HID_PID),y) 14ifeq ($(CONFIG_HID_PID),y)
18 usbhid-objs += hid-pidff.o 15 usbhid-objs += hid-pidff.o
19endif 16endif