mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 03:40:52 +07:00
[PATCH] Generic HID layer - build
This modifies Makefiles and Kconfigs to properly reflect the creation of generic HID layer. It also removes the dependency of BROKEN, which was introduced by the first patch in series (see the comment). Also updates credits. Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
4c2ae844b5
commit
63f3861d2f
8
CREDITS
8
CREDITS
@ -1808,6 +1808,14 @@ S: Kruislaan 419
|
|||||||
S: 1098 VA Amsterdam
|
S: 1098 VA Amsterdam
|
||||||
S: The Netherlands
|
S: The Netherlands
|
||||||
|
|
||||||
|
N: Jiri Kosina
|
||||||
|
E: jikos@jikos.cz
|
||||||
|
E: jkosina@suse.cz
|
||||||
|
D: Generic HID layer - original code split, fixes
|
||||||
|
D: Various ACPI fixes, keeping correct battery state through suspend
|
||||||
|
D: various lockdep annotations, autofs and other random bugfixes
|
||||||
|
S: Prague, Czech Republic
|
||||||
|
|
||||||
N: Gene Kozin
|
N: Gene Kozin
|
||||||
E: 74604.152@compuserve.com
|
E: 74604.152@compuserve.com
|
||||||
W: http://www.sangoma.com
|
W: http://www.sangoma.com
|
||||||
|
@ -64,6 +64,8 @@ source "drivers/video/Kconfig"
|
|||||||
|
|
||||||
source "sound/Kconfig"
|
source "sound/Kconfig"
|
||||||
|
|
||||||
|
source "drivers/hid/Kconfig"
|
||||||
|
|
||||||
source "drivers/usb/Kconfig"
|
source "drivers/usb/Kconfig"
|
||||||
|
|
||||||
source "drivers/mmc/Kconfig"
|
source "drivers/mmc/Kconfig"
|
||||||
|
@ -77,4 +77,5 @@ obj-$(CONFIG_CRYPTO) += crypto/
|
|||||||
obj-$(CONFIG_SUPERH) += sh/
|
obj-$(CONFIG_SUPERH) += sh/
|
||||||
obj-$(CONFIG_GENERIC_TIME) += clocksource/
|
obj-$(CONFIG_GENERIC_TIME) += clocksource/
|
||||||
obj-$(CONFIG_DMA_ENGINE) += dma/
|
obj-$(CONFIG_DMA_ENGINE) += dma/
|
||||||
|
obj-$(CONFIG_HID) += hid/
|
||||||
obj-$(CONFIG_PPC_PS3) += ps3/
|
obj-$(CONFIG_PPC_PS3) += ps3/
|
||||||
|
18
drivers/hid/Kconfig
Normal file
18
drivers/hid/Kconfig
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#
|
||||||
|
# HID driver configuration
|
||||||
|
#
|
||||||
|
menu "HID Devices"
|
||||||
|
depends on INPUT
|
||||||
|
|
||||||
|
config HID
|
||||||
|
tristate "Generic HID support"
|
||||||
|
default y
|
||||||
|
---help---
|
||||||
|
Say Y here if you want generic HID support to connect keyboards,
|
||||||
|
mice, joysticks, graphic tablets, or any other HID based devices
|
||||||
|
to your computer. You also need to select particular types of
|
||||||
|
HID devices you want to compile support for, in the particular
|
||||||
|
driver menu (USB, Bluetooth)
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
15
drivers/hid/Makefile
Normal file
15
drivers/hid/Makefile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#
|
||||||
|
# Makefile for the HID driver
|
||||||
|
#
|
||||||
|
|
||||||
|
# Multipart objects.
|
||||||
|
hid-objs := hid-core.o hid-input.o
|
||||||
|
|
||||||
|
# Optional parts of multipart objects.
|
||||||
|
|
||||||
|
obj-$(CONFIG_HID) += hid.o
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_INPUT_DEBUG),y)
|
||||||
|
EXTRA_CFLAGS += -DDEBUG
|
||||||
|
endif
|
||||||
|
|
@ -21,3 +21,4 @@ obj-$(CONFIG_INPUT_MOUSE) += mouse/
|
|||||||
obj-$(CONFIG_INPUT_JOYSTICK) += joystick/
|
obj-$(CONFIG_INPUT_JOYSTICK) += joystick/
|
||||||
obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/
|
obj-$(CONFIG_INPUT_TOUCHSCREEN) += touchscreen/
|
||||||
obj-$(CONFIG_INPUT_MISC) += misc/
|
obj-$(CONFIG_INPUT_MISC) += misc/
|
||||||
|
|
||||||
|
@ -6,9 +6,10 @@ comment "USB Input Devices"
|
|||||||
|
|
||||||
config USB_HID
|
config USB_HID
|
||||||
tristate "USB Human Interface Device (full HID) support"
|
tristate "USB Human Interface Device (full HID) support"
|
||||||
depends on USB && BROKEN
|
default y
|
||||||
|
depends on USB && HID
|
||||||
---help---
|
---help---
|
||||||
Say Y here if you want full HID support to connect keyboards,
|
Say Y here if you want full HID support to connect USB keyboards,
|
||||||
mice, joysticks, graphic tablets, or any other HID based devices
|
mice, joysticks, graphic tablets, or any other HID based devices
|
||||||
to your computer via USB. You also need to select HID Input layer
|
to your computer via USB. You also need to select HID Input layer
|
||||||
support (below) if you want to use keyboards, mice, joysticks and
|
support (below) if you want to use keyboards, mice, joysticks and
|
||||||
@ -27,20 +28,10 @@ config USB_HID
|
|||||||
comment "Input core support is needed for USB HID input layer or HIDBP support"
|
comment "Input core support is needed for USB HID input layer or HIDBP support"
|
||||||
depends on USB_HID && INPUT=n
|
depends on USB_HID && INPUT=n
|
||||||
|
|
||||||
config USB_HIDINPUT
|
config USB_HID_POWERBOOK
|
||||||
bool "HID input layer support"
|
|
||||||
default y
|
|
||||||
depends on INPUT && USB_HID
|
|
||||||
help
|
|
||||||
Say Y here if you want to use a USB keyboard, mouse or joystick,
|
|
||||||
or any other HID input device.
|
|
||||||
|
|
||||||
If unsure, say Y.
|
|
||||||
|
|
||||||
config USB_HIDINPUT_POWERBOOK
|
|
||||||
bool "Enable support for iBook/PowerBook special keys"
|
bool "Enable support for iBook/PowerBook special keys"
|
||||||
default n
|
default n
|
||||||
depends on USB_HIDINPUT
|
depends on USB_HID
|
||||||
help
|
help
|
||||||
Say Y here if you want support for the special keys (Fn, Numlock) on
|
Say Y here if you want support for the special keys (Fn, Numlock) on
|
||||||
Apple iBooks and PowerBooks.
|
Apple iBooks and PowerBooks.
|
||||||
@ -49,7 +40,7 @@ config USB_HIDINPUT_POWERBOOK
|
|||||||
|
|
||||||
config HID_FF
|
config HID_FF
|
||||||
bool "Force feedback support (EXPERIMENTAL)"
|
bool "Force feedback support (EXPERIMENTAL)"
|
||||||
depends on USB_HIDINPUT && EXPERIMENTAL
|
depends on USB_HID && EXPERIMENTAL
|
||||||
help
|
help
|
||||||
Say Y here is you want force feedback support for a few HID devices.
|
Say Y here is you want force feedback support for a few HID devices.
|
||||||
See below for a list of supported devices.
|
See below for a list of supported devices.
|
||||||
|
@ -11,9 +11,6 @@ usbhid-objs := hid-core.o
|
|||||||
ifeq ($(CONFIG_USB_HIDDEV),y)
|
ifeq ($(CONFIG_USB_HIDDEV),y)
|
||||||
usbhid-objs += hiddev.o
|
usbhid-objs += hiddev.o
|
||||||
endif
|
endif
|
||||||
ifeq ($(CONFIG_USB_HIDINPUT),y)
|
|
||||||
usbhid-objs += hid-input.o
|
|
||||||
endif
|
|
||||||
ifeq ($(CONFIG_HID_PID),y)
|
ifeq ($(CONFIG_HID_PID),y)
|
||||||
usbhid-objs += hid-pidff.o
|
usbhid-objs += hid-pidff.o
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user