Skip to content

Commit 73d5e8f

Browse files
author
Jiri Kosina
committed
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>
1 parent 36dbe2f commit 73d5e8f

1 file changed

Lines changed: 16 additions & 31 deletions

File tree

‎drivers/hid/Kconfig‎

Lines changed: 16 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,8 @@ config HID_CYPRESS
129129
Support for cypress mouse and barcode readers.
130130

131131
config HID_DRAGONRISE
132-
tristate "DragonRise Inc. support" if EMBEDDED
132+
tristate "DragonRise Inc. support"
133133
depends on USB_HID
134-
default !EMBEDDED
135134
---help---
136135
Say Y here if you have DragonRise Inc.game controllers.
137136

@@ -147,7 +146,7 @@ config HID_EGALAX
147146
tristate "eGalax multi-touch panel"
148147
depends on USB_HID
149148
---help---
150-
Support for the eGalax dual-touch panel
149+
Support for the eGalax dual-touch panel.
151150

152151
config HID_EZKEY
153152
tristate "Ezkey" if EMBEDDED
@@ -164,16 +163,14 @@ config HID_KYE
164163
Support for Kye/Genius Ergo Mouse.
165164

166165
config HID_GYRATION
167-
tristate "Gyration" if EMBEDDED
166+
tristate "Gyration"
168167
depends on USB_HID
169-
default !EMBEDDED
170168
---help---
171169
Support for Gyration remote control.
172170

173171
config HID_TWINHAN
174-
tristate "Twinhan" if EMBEDDED
172+
tristate "Twinhan"
175173
depends on USB_HID
176-
default !EMBEDDED
177174
---help---
178175
Support for Twinhan IR remote control.
179176

@@ -260,16 +257,14 @@ config HID_NTRIG
260257
Support for N-Trig touch screen.
261258

262259
config HID_ORTEK
263-
tristate "Ortek" if EMBEDDED
260+
tristate "Ortek"
264261
depends on USB_HID
265-
default !EMBEDDED
266262
---help---
267263
Support for Ortek WKB-2000 wireless keyboard + mouse trackpad.
268264

269265
config HID_PANTHERLORD
270-
tristate "Pantherlord support" if EMBEDDED
266+
tristate "Pantherlord support"
271267
depends on USB_HID
272-
default !EMBEDDED
273268
---help---
274269
Say Y here if you have a PantherLord/GreenAsia based game controller
275270
or adapter.
@@ -283,9 +278,8 @@ config PANTHERLORD_FF
283278
or adapter and want to enable force feedback support for it.
284279

285280
config HID_PETALYNX
286-
tristate "Petalynx" if EMBEDDED
281+
tristate "Petalynx"
287282
depends on USB_HID
288-
default !EMBEDDED
289283
---help---
290284
Support for Petalynx Maxter remote control.
291285

@@ -360,16 +354,14 @@ config HID_ROCCAT_KONE
360354
Support for Roccat Kone mouse.
361355

362356
config HID_SAMSUNG
363-
tristate "Samsung" if EMBEDDED
357+
tristate "Samsung"
364358
depends on USB_HID
365-
default !EMBEDDED
366359
---help---
367360
Support for Samsung InfraRed remote control or keyboards.
368361

369362
config HID_SONY
370-
tristate "Sony" if EMBEDDED
363+
tristate "Sony"
371364
depends on USB_HID
372-
default !EMBEDDED
373365
---help---
374366
Support for Sony PS3 controller.
375367

@@ -380,16 +372,14 @@ config HID_STANTUM
380372
Support for Stantum multitouch panel.
381373

382374
config HID_SUNPLUS
383-
tristate "Sunplus" if EMBEDDED
375+
tristate "Sunplus"
384376
depends on USB_HID
385-
default !EMBEDDED
386377
---help---
387378
Support for Sunplus wireless desktop.
388379

389380
config HID_GREENASIA
390-
tristate "GreenAsia (Product ID 0x12) support" if EMBEDDED
381+
tristate "GreenAsia (Product ID 0x12) support"
391382
depends on USB_HID
392-
default !EMBEDDED
393383
---help---
394384
Say Y here if you have a GreenAsia (Product ID 0x12) based game
395385
controller or adapter.
@@ -404,9 +394,8 @@ config GREENASIA_FF
404394
and want to enable force feedback support for it.
405395

406396
config HID_SMARTJOYPLUS
407-
tristate "SmartJoy PLUS PS2/USB adapter support" if EMBEDDED
397+
tristate "SmartJoy PLUS PS2/USB adapter support"
408398
depends on USB_HID
409-
default !EMBEDDED
410399
---help---
411400
Support for SmartJoy PLUS PS2/USB adapter.
412401

@@ -419,16 +408,14 @@ config SMARTJOYPLUS_FF
419408
enable force feedback support for it.
420409

421410
config HID_TOPSEED
422-
tristate "TopSeed Cyberlink remote control support" if EMBEDDED
411+
tristate "TopSeed Cyberlink remote control support"
423412
depends on USB_HID
424-
default !EMBEDDED
425413
---help---
426414
Say Y if you have a TopSeed Cyberlink or BTC Emprex remote control.
427415

428416
config HID_THRUSTMASTER
429-
tristate "ThrustMaster devices support" if EMBEDDED
417+
tristate "ThrustMaster devices support"
430418
depends on USB_HID
431-
default !EMBEDDED
432419
---help---
433420
Say Y here if you have a THRUSTMASTER FireStore Dual Power 2 or
434421
a THRUSTMASTER Ferrari GT Rumble Wheel.
@@ -457,9 +444,8 @@ config HID_WACOM_POWER_SUPPLY
457444
Wacom Bluetooth devices.
458445

459446
config HID_ZEROPLUS
460-
tristate "Zeroplus based game controller support" if EMBEDDED
447+
tristate "Zeroplus based game controller support"
461448
depends on USB_HID
462-
default !EMBEDDED
463449
---help---
464450
Say Y here if you have a Zeroplus based game controller.
465451

@@ -472,9 +458,8 @@ config ZEROPLUS_FF
472458
to have force feedback support for it.
473459

474460
config HID_ZYDACRON
475-
tristate "Zydacron remote control support" if EMBEDDED
461+
tristate "Zydacron remote control support"
476462
depends on USB_HID
477-
default !EMBEDDED
478463
---help---
479464
Support for Zydacron remote control.
480465

0 commit comments

Comments
 (0)