mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 09:26:44 +07:00
4f73bc4dd3
The option allows you to remove TTY and compile without errors. This saves space on systems that won't support TTY interfaces anyway. bloat-o-meter output is below. The bulk of this patch consists of Kconfig changes adding "depends on TTY" to various serial devices and similar drivers that require the TTY layer. Ideally, these dependencies would occur on a common intermediate symbol such as SERIO, but most drivers "select SERIO" rather than "depends on SERIO", and "select" does not respect dependencies. bloat-o-meter output comparing our previous minimal to new minimal by removing TTY. The list is filtered to not show removed entries with awk '$3 != "-"' as the list was very long. add/remove: 0/226 grow/shrink: 2/14 up/down: 6/-35356 (-35350) function old new delta chr_dev_init 166 170 +4 allow_signal 80 82 +2 static.__warned 143 142 -1 disallow_signal 63 62 -1 __set_special_pids 95 94 -1 unregister_console 126 121 -5 start_kernel 546 541 -5 register_console 593 588 -5 copy_from_user 45 40 -5 sys_setsid 128 120 -8 sys_vhangup 32 19 -13 do_exit 1543 1526 -17 bitmap_zero 60 40 -20 arch_local_irq_save 137 117 -20 release_task 674 652 -22 static.spin_unlock_irqrestore 308 260 -48 Signed-off-by: Joe Millenbach <jmillenbach@gmail.com> Reviewed-by: Jamey Sharp <jamey@minilop.net> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
71 lines
2.2 KiB
Plaintext
71 lines
2.2 KiB
Plaintext
menuconfig ISDN_DRV_GIGASET
|
|
tristate "Siemens Gigaset support"
|
|
depends on TTY
|
|
select CRC_CCITT
|
|
select BITREVERSE
|
|
help
|
|
This driver supports the Siemens Gigaset SX205/255 family of
|
|
ISDN DECT bases, including the predecessors Gigaset 3070/3075
|
|
and 4170/4175 and their T-Com versions Sinus 45isdn and Sinus
|
|
721X.
|
|
If you have one of these devices, say M here and for at least
|
|
one of the connection specific parts that follow.
|
|
This will build a module called "gigaset".
|
|
Note: If you build your ISDN subsystem (ISDN_CAPI or ISDN_I4L)
|
|
as a module, you have to build this driver as a module too,
|
|
otherwise the Gigaset device won't show up as an ISDN device.
|
|
|
|
if ISDN_DRV_GIGASET
|
|
|
|
config GIGASET_CAPI
|
|
bool "Gigaset CAPI support"
|
|
depends on ISDN_CAPI='y'||(ISDN_CAPI='m'&&ISDN_DRV_GIGASET='m')
|
|
default ISDN_I4L='n'
|
|
help
|
|
Build the Gigaset driver as a CAPI 2.0 driver interfacing with
|
|
the Kernel CAPI subsystem. To use it with the old ISDN4Linux
|
|
subsystem you'll have to enable the capidrv glue driver.
|
|
(select ISDN_CAPI_CAPIDRV.)
|
|
Say N to build the old native ISDN4Linux variant.
|
|
If unsure, say Y.
|
|
|
|
config GIGASET_I4L
|
|
bool
|
|
depends on ISDN_I4L='y'||(ISDN_I4L='m'&&ISDN_DRV_GIGASET='m')
|
|
default !GIGASET_CAPI
|
|
|
|
config GIGASET_DUMMYLL
|
|
bool
|
|
default !GIGASET_CAPI&&!GIGASET_I4L
|
|
|
|
config GIGASET_BASE
|
|
tristate "Gigaset base station support"
|
|
depends on USB
|
|
help
|
|
Say M here if you want to use the USB interface of the Gigaset
|
|
base for connection to your system.
|
|
This will build a module called "bas_gigaset".
|
|
|
|
config GIGASET_M105
|
|
tristate "Gigaset M105 support"
|
|
depends on USB
|
|
help
|
|
Say M here if you want to connect to the Gigaset base via DECT
|
|
using a Gigaset M105 (Sinus 45 Data 2) USB DECT device.
|
|
This will build a module called "usb_gigaset".
|
|
|
|
config GIGASET_M101
|
|
tristate "Gigaset M101 support"
|
|
help
|
|
Say M here if you want to connect to the Gigaset base via DECT
|
|
using a Gigaset M101 (Sinus 45 Data 1) RS232 DECT device.
|
|
This will build a module called "ser_gigaset".
|
|
|
|
config GIGASET_DEBUG
|
|
bool "Gigaset debugging"
|
|
help
|
|
This enables debugging code in the Gigaset drivers.
|
|
If in doubt, say yes.
|
|
|
|
endif # ISDN_DRV_GIGASET
|