HID: fix up 'EMBEDDED' mess in Kconfig

The whole point of making some of the drivers automatically selected
unless 'EMBEDDED' was to handle quirks transparently after their separation
from the generic core.

Over time, some of the later-added quirks grew into more standalone drivers,
implementing non-trivial features a being larger than a few bytes of code.

In addition to that, some of the standalone drivers don't make sense for
99.9% of the users, as they are very specific to rare devices.

Therefore build by default in only those drivers which

- we historically used to support even before quirk separation from the
  core code
- are isolated enough and likely to hit quite large portion of the
  users anyway (Microsoft, Logitech)

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Jiri Kosina 2010-05-21 13:15:17 +02:00
parent 36dbe2fc55
commit 73d5e8f77e
1 changed files with 16 additions and 31 deletions

View File

@ -129,9 +129,8 @@ config HID_CYPRESS
Support for cypress mouse and barcode readers. Support for cypress mouse and barcode readers.
config HID_DRAGONRISE config HID_DRAGONRISE
tristate "DragonRise Inc. support" if EMBEDDED tristate "DragonRise Inc. support"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Say Y here if you have DragonRise Inc.game controllers. Say Y here if you have DragonRise Inc.game controllers.
@ -147,7 +146,7 @@ config HID_EGALAX
tristate "eGalax multi-touch panel" tristate "eGalax multi-touch panel"
depends on USB_HID depends on USB_HID
---help--- ---help---
Support for the eGalax dual-touch panel Support for the eGalax dual-touch panel.
config HID_EZKEY config HID_EZKEY
tristate "Ezkey" if EMBEDDED tristate "Ezkey" if EMBEDDED
@ -164,16 +163,14 @@ config HID_KYE
Support for Kye/Genius Ergo Mouse. Support for Kye/Genius Ergo Mouse.
config HID_GYRATION config HID_GYRATION
tristate "Gyration" if EMBEDDED tristate "Gyration"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Support for Gyration remote control. Support for Gyration remote control.
config HID_TWINHAN config HID_TWINHAN
tristate "Twinhan" if EMBEDDED tristate "Twinhan"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Support for Twinhan IR remote control. Support for Twinhan IR remote control.
@ -260,16 +257,14 @@ config HID_NTRIG
Support for N-Trig touch screen. Support for N-Trig touch screen.
config HID_ORTEK config HID_ORTEK
tristate "Ortek" if EMBEDDED tristate "Ortek"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Support for Ortek WKB-2000 wireless keyboard + mouse trackpad. Support for Ortek WKB-2000 wireless keyboard + mouse trackpad.
config HID_PANTHERLORD config HID_PANTHERLORD
tristate "Pantherlord support" if EMBEDDED tristate "Pantherlord support"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Say Y here if you have a PantherLord/GreenAsia based game controller Say Y here if you have a PantherLord/GreenAsia based game controller
or adapter. or adapter.
@ -283,9 +278,8 @@ config PANTHERLORD_FF
or adapter and want to enable force feedback support for it. or adapter and want to enable force feedback support for it.
config HID_PETALYNX config HID_PETALYNX
tristate "Petalynx" if EMBEDDED tristate "Petalynx"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Support for Petalynx Maxter remote control. Support for Petalynx Maxter remote control.
@ -360,16 +354,14 @@ config HID_ROCCAT_KONE
Support for Roccat Kone mouse. Support for Roccat Kone mouse.
config HID_SAMSUNG config HID_SAMSUNG
tristate "Samsung" if EMBEDDED tristate "Samsung"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Support for Samsung InfraRed remote control or keyboards. Support for Samsung InfraRed remote control or keyboards.
config HID_SONY config HID_SONY
tristate "Sony" if EMBEDDED tristate "Sony"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Support for Sony PS3 controller. Support for Sony PS3 controller.
@ -380,16 +372,14 @@ config HID_STANTUM
Support for Stantum multitouch panel. Support for Stantum multitouch panel.
config HID_SUNPLUS config HID_SUNPLUS
tristate "Sunplus" if EMBEDDED tristate "Sunplus"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Support for Sunplus wireless desktop. Support for Sunplus wireless desktop.
config HID_GREENASIA config HID_GREENASIA
tristate "GreenAsia (Product ID 0x12) support" if EMBEDDED tristate "GreenAsia (Product ID 0x12) support"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Say Y here if you have a GreenAsia (Product ID 0x12) based game Say Y here if you have a GreenAsia (Product ID 0x12) based game
controller or adapter. controller or adapter.
@ -404,9 +394,8 @@ config GREENASIA_FF
and want to enable force feedback support for it. and want to enable force feedback support for it.
config HID_SMARTJOYPLUS config HID_SMARTJOYPLUS
tristate "SmartJoy PLUS PS2/USB adapter support" if EMBEDDED tristate "SmartJoy PLUS PS2/USB adapter support"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Support for SmartJoy PLUS PS2/USB adapter. Support for SmartJoy PLUS PS2/USB adapter.
@ -419,16 +408,14 @@ config SMARTJOYPLUS_FF
enable force feedback support for it. enable force feedback support for it.
config HID_TOPSEED config HID_TOPSEED
tristate "TopSeed Cyberlink remote control support" if EMBEDDED tristate "TopSeed Cyberlink remote control support"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Say Y if you have a TopSeed Cyberlink or BTC Emprex remote control. Say Y if you have a TopSeed Cyberlink or BTC Emprex remote control.
config HID_THRUSTMASTER config HID_THRUSTMASTER
tristate "ThrustMaster devices support" if EMBEDDED tristate "ThrustMaster devices support"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Say Y here if you have a THRUSTMASTER FireStore Dual Power 2 or Say Y here if you have a THRUSTMASTER FireStore Dual Power 2 or
a THRUSTMASTER Ferrari GT Rumble Wheel. a THRUSTMASTER Ferrari GT Rumble Wheel.
@ -457,9 +444,8 @@ config HID_WACOM_POWER_SUPPLY
Wacom Bluetooth devices. Wacom Bluetooth devices.
config HID_ZEROPLUS config HID_ZEROPLUS
tristate "Zeroplus based game controller support" if EMBEDDED tristate "Zeroplus based game controller support"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Say Y here if you have a Zeroplus based game controller. Say Y here if you have a Zeroplus based game controller.
@ -472,9 +458,8 @@ config ZEROPLUS_FF
to have force feedback support for it. to have force feedback support for it.
config HID_ZYDACRON config HID_ZYDACRON
tristate "Zydacron remote control support" if EMBEDDED tristate "Zydacron remote control support"
depends on USB_HID depends on USB_HID
default !EMBEDDED
---help--- ---help---
Support for Zydacron remote control. Support for Zydacron remote control.