linux_dsm_epyc7002/drivers/usb/serial
Joe Millenbach 4f73bc4dd3 tty: Added a CONFIG_TTY option to allow removal of TTY
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>
2013-01-18 16:15:27 -08:00
..
aircable.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
ark3116.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
belkin_sa.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
belkin_sa.h
bus.c usb-core: remove CONFIG_HOTPLUG ifdefs 2012-11-21 13:27:16 -08:00
ch341.c USB: ch341: fix port-data memory leak 2012-10-25 09:36:57 -07:00
console.c USB merge for 3.7-rc1 2012-10-01 13:23:01 -07:00
cp210x.c USB: cp210x: add Virtenio Preon32 device id 2012-11-26 14:57:20 -08:00
cyberjack.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
cypress_m8.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
cypress_m8.h
digi_acceleport.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
empeg.c USB: serial: remove driver version information 2012-10-31 12:48:06 -07:00
ezusb_convert.pl
f81232.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
ftdi_sio_ids.h USB: ftdi_sio: Add support for Newport AGILIS motor drivers 2012-11-26 15:53:02 -08:00
ftdi_sio.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
ftdi_sio.h USB: ftdi_sio: add support for FT-X series devices 2012-03-14 15:43:05 -07:00
funsoft.c USB: serial: funsoft.c: remove debug module parameter 2012-09-14 12:31:27 -07:00
garmin_gps.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
generic.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
hp4x.c USB: serial: remove driver version information 2012-10-31 12:48:06 -07:00
io_16654.h
io_edgeport.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
io_edgeport.h Fix common misspellings 2011-03-31 11:26:23 -03:00
io_ionsp.h
io_tables.h USB: io_edgeport: fix port-data memory leak 2012-10-17 13:47:58 -07:00
io_ti.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
io_ti.h
io_usbvend.h
ipaq.c USB: serial: remove driver version information 2012-10-31 12:48:06 -07:00
ipw.c USB: serial: remove driver version information 2012-10-31 12:48:06 -07:00
ir-usb.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
iuu_phoenix.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
iuu_phoenix.h
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
keyspan_pda.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
keyspan_usa26msg.h
keyspan_usa28msg.h
keyspan_usa49msg.h
keyspan_usa67msg.h
keyspan_usa90msg.h
keyspan.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
keyspan.h USB: keyspan: fix NULL-pointer dereferences and memory leaks 2012-10-25 09:37:13 -07:00
kl5kusb105.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
kl5kusb105.h
kobil_sct.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
kobil_sct.h
Makefile USB: ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc 2012-09-26 14:20:28 -07:00
Makefile-keyspan_pda_fw
mct_u232.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
mct_u232.h Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
metro-usb.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
mos7720.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
mos7840.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
moto_modem.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
navman.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
omninet.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
opticon.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
option.c USB: option: blacklist network interface on Huawei E173 2012-11-26 14:57:20 -08:00
oti6858.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
oti6858.h
pl2303.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
pl2303.h USB: serial: pl2303: rm duplicate id 2011-11-15 10:06:15 -08:00
qcaux.c USB: qcaux: add Pantech vendor class match 2012-09-21 09:42:02 -07:00
qcserial.c USB: qcserial: fix interface-data memory leak in error path 2012-10-25 09:39:38 -07:00
quatech2.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
safe_serial.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
siemens_mpi.c USB: serial: remove driver version information 2012-10-31 12:48:06 -07:00
sierra.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
spcp8x5.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
ssu100.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
symbolserial.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
ti_usb_3410_5052.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
ti_usb_3410_5052.h USB: serial: ti_usb_3410_5052: Add support for the FRI2 serial console 2012-05-11 15:14:07 -07:00
usb_debug.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
usb_wwan.c TTY: switch tty_flip_buffer_push 2013-01-15 22:30:15 -08:00
usb-serial.c TTY: call tty_port_destroy in the rest of drivers 2012-11-15 17:20:58 -08:00
usb-wwan.h USB: usb-wwan: fix multiple memory leaks in error paths 2012-10-25 09:37:13 -07:00
visor.c USB: Serial: visor.c: remove debug module parameter 2012-09-18 10:16:28 +01:00
visor.h
vivopay-serial.c USB: serial: remove driver version information 2012-10-31 12:48:06 -07:00
whiteheat.c USB: whiteheat: fix port-data memory leak 2012-10-25 09:36:57 -07:00
whiteheat.h
zio.c USB: serial: rework usb_serial_register/deregister_drivers() 2012-05-08 15:46:14 -07:00
zte_ev.c USB: serial: add zte_ev.c driver 2012-09-13 10:15:14 -07:00