2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# Makefile for the kernel serial device drivers.
|
|
|
|
#
|
|
|
|
|
|
|
|
obj-$(CONFIG_SERIAL_CORE) += serial_core.o
|
|
|
|
obj-$(CONFIG_SERIAL_21285) += 21285.o
|
2008-10-13 17:36:31 +08:00
|
|
|
|
2014-04-19 06:19:55 +08:00
|
|
|
obj-$(CONFIG_SERIAL_EARLYCON) += earlycon.o
|
2014-04-19 06:19:58 +08:00
|
|
|
obj-$(CONFIG_SERIAL_EARLYCON_ARM_SEMIHOST) += earlycon-arm-semihost.o
|
2014-04-19 06:19:55 +08:00
|
|
|
|
2008-10-13 17:36:31 +08:00
|
|
|
# These Sparc drivers have to appear before others such as 8250
|
|
|
|
# which share ttySx minor node space. Otherwise console device
|
|
|
|
# names change and other unplesantries.
|
|
|
|
obj-$(CONFIG_SERIAL_SUNCORE) += suncore.o
|
|
|
|
obj-$(CONFIG_SERIAL_SUNHV) += sunhv.o
|
|
|
|
obj-$(CONFIG_SERIAL_SUNZILOG) += sunzilog.o
|
|
|
|
obj-$(CONFIG_SERIAL_SUNSU) += sunsu.o
|
|
|
|
obj-$(CONFIG_SERIAL_SUNSAB) += sunsab.o
|
|
|
|
|
2012-01-06 07:21:43 +08:00
|
|
|
# Now bring in any enabled 8250/16450/16550 type drivers.
|
|
|
|
obj-$(CONFIG_SERIAL_8250) += 8250/
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_SERIAL_AMBA_PL010) += amba-pl010.o
|
|
|
|
obj-$(CONFIG_SERIAL_AMBA_PL011) += amba-pl011.o
|
|
|
|
obj-$(CONFIG_SERIAL_CLPS711X) += clps711x.o
|
|
|
|
obj-$(CONFIG_SERIAL_PXA) += pxa.o
|
2007-02-14 16:33:09 +08:00
|
|
|
obj-$(CONFIG_SERIAL_PNX8XXX) += pnx8xxx_uart.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_SERIAL_SA1100) += sa1100.o
|
2009-09-18 19:04:58 +08:00
|
|
|
obj-$(CONFIG_SERIAL_BCM63XX) += bcm63xx_uart.o
|
2011-07-19 18:09:25 +08:00
|
|
|
obj-$(CONFIG_SERIAL_BFIN) += bfin_uart.o
|
2008-04-30 15:52:12 +08:00
|
|
|
obj-$(CONFIG_SERIAL_BFIN_SPORT) += bfin_sport_uart.o
|
2008-07-03 19:32:51 +08:00
|
|
|
obj-$(CONFIG_SERIAL_SAMSUNG) += samsung.o
|
2009-04-07 23:48:51 +08:00
|
|
|
obj-$(CONFIG_SERIAL_MAX3100) += max3100.o
|
2012-08-06 23:42:32 +08:00
|
|
|
obj-$(CONFIG_SERIAL_MAX310X) += max310x.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_SERIAL_IP22_ZILOG) += ip22zilog.o
|
|
|
|
obj-$(CONFIG_SERIAL_MUX) += mux.o
|
|
|
|
obj-$(CONFIG_SERIAL_68328) += 68328serial.o
|
2008-02-01 15:31:58 +08:00
|
|
|
obj-$(CONFIG_SERIAL_MCF) += mcf.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_SERIAL_PMACZILOG) += pmac_zilog.o
|
2012-06-12 04:04:12 +08:00
|
|
|
obj-$(CONFIG_SERIAL_HS_LPC32XX) += lpc32xx_hs.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_SERIAL_DZ) += dz.o
|
2007-07-18 15:49:11 +08:00
|
|
|
obj-$(CONFIG_SERIAL_ZS) += zs.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_SERIAL_SH_SCI) += sh-sci.o
|
|
|
|
obj-$(CONFIG_SERIAL_SGI_L1_CONSOLE) += sn_console.o
|
|
|
|
obj-$(CONFIG_SERIAL_CPM) += cpm_uart/
|
|
|
|
obj-$(CONFIG_SERIAL_IMX) += imx.o
|
|
|
|
obj-$(CONFIG_SERIAL_MPC52xx) += mpc52xx_uart.o
|
|
|
|
obj-$(CONFIG_SERIAL_ICOM) += icom.o
|
|
|
|
obj-$(CONFIG_SERIAL_M32R_SIO) += m32r_sio.o
|
|
|
|
obj-$(CONFIG_SERIAL_MPSC) += mpsc.o
|
2014-08-17 18:49:49 +08:00
|
|
|
obj-$(CONFIG_SERIAL_MESON) += meson_uart.o
|
2007-07-17 19:03:50 +08:00
|
|
|
obj-$(CONFIG_SERIAL_SB1250_DUART) += sb1250-duart.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_ETRAX_SERIAL) += crisv10.o
|
2012-08-25 23:24:19 +08:00
|
|
|
obj-$(CONFIG_SERIAL_SCCNXP) += sccnxp.o
|
2014-04-25 08:56:06 +08:00
|
|
|
obj-$(CONFIG_SERIAL_SC16IS7XX) += sc16is7xx.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_SERIAL_JSM) += jsm/
|
|
|
|
obj-$(CONFIG_SERIAL_TXX9) += serial_txx9.o
|
|
|
|
obj-$(CONFIG_SERIAL_VR41XX) += vr41xx_siu.o
|
2005-06-22 08:16:01 +08:00
|
|
|
obj-$(CONFIG_SERIAL_SGI_IOC4) += ioc4_serial.o
|
2006-01-15 05:20:40 +08:00
|
|
|
obj-$(CONFIG_SERIAL_SGI_IOC3) += ioc3_serial.o
|
2006-10-04 22:02:02 +08:00
|
|
|
obj-$(CONFIG_SERIAL_ATMEL) += atmel_serial.o
|
2006-12-07 12:35:17 +08:00
|
|
|
obj-$(CONFIG_SERIAL_UARTLITE) += uartlite.o
|
2009-06-23 01:43:11 +08:00
|
|
|
obj-$(CONFIG_SERIAL_MSM) += msm_serial.o
|
2011-03-07 12:58:42 +08:00
|
|
|
obj-$(CONFIG_SERIAL_MSM_HS) += msm_serial_hs.o
|
2006-06-19 20:29:07 +08:00
|
|
|
obj-$(CONFIG_SERIAL_NETX) += netx-serial.o
|
2007-02-14 04:35:38 +08:00
|
|
|
obj-$(CONFIG_SERIAL_OF_PLATFORM) += of_serial.o
|
2009-01-07 17:32:38 +08:00
|
|
|
obj-$(CONFIG_SERIAL_OF_PLATFORM_NWPSERIAL) += nwpserial.o
|
tty/serial: Add kgdb_nmi driver
This special driver makes it possible to temporary use NMI debugger port
as a normal console by issuing 'nmi_console' command (assuming that the
port is attached to KGDB).
Unlike KDB's disable_nmi command, with this driver you are always able
to go back to the debugger using KGDB escape sequence ($3#33). This is
because this console driver processes the input in NMI context, and thus
is able to intercept the magic sequence.
Note that since the console interprets input and uses polling
communication methods, for things like PPP it is still better to fully
detach debugger port from the KGDB NMI (i.e. disable_nmi), and use raw
console.
Usually, to enter the debugger one have to type the magic sequence, so
initially the kernel will print the following prompt on the NMI debugger
console:
Type $3#33 to enter the debugger>
For convenience, there is a kgdb_fiq.knock kernel command line option,
when set to 0, this turns the special command to just a return key
press, so the kernel will be printing this:
Hit <return> to enter the debugger>
This is more convenient for long debugging sessions, although it makes
nmi_console feature somewhat useless.
And for the cases when NMI connected to a dedicated button, the knocking
can be disabled altogether by setting kgdb_fiq.knock to -1.
Suggested-by: Colin Cross <ccross@android.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: Alan Cox <alan@linux.intel.com>
Acked-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-09-25 05:27:56 +08:00
|
|
|
obj-$(CONFIG_SERIAL_KGDB_NMI) += kgdb_nmi.o
|
2007-05-12 04:37:25 +08:00
|
|
|
obj-$(CONFIG_SERIAL_KS8695) += serial_ks8695.o
|
2010-12-05 23:15:10 +08:00
|
|
|
obj-$(CONFIG_SERIAL_OMAP) += omap-serial.o
|
2012-02-08 21:36:09 +08:00
|
|
|
obj-$(CONFIG_SERIAL_ALTERA_UART) += altera_uart.o
|
2013-07-15 19:39:23 +08:00
|
|
|
obj-$(CONFIG_SERIAL_ST_ASC) += st-asc.o
|
2013-08-13 02:11:44 +08:00
|
|
|
obj-$(CONFIG_SERIAL_TILEGX) += tilegx.o
|
2008-04-18 02:05:37 +08:00
|
|
|
obj-$(CONFIG_KGDB_SERIAL_CONSOLE) += kgdboc.o
|
2008-01-15 23:56:13 +08:00
|
|
|
obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
|
2009-06-11 21:05:39 +08:00
|
|
|
obj-$(CONFIG_SERIAL_TIMBERDALE) += timbuart.o
|
2009-11-05 00:39:46 +08:00
|
|
|
obj-$(CONFIG_SERIAL_GRLIB_GAISLER_APBUART) += apbuart.o
|
2010-05-05 16:35:22 +08:00
|
|
|
obj-$(CONFIG_SERIAL_ALTERA_JTAGUART) += altera_jtaguart.o
|
2010-11-09 01:33:20 +08:00
|
|
|
obj-$(CONFIG_SERIAL_VT8500) += vt8500_serial.o
|
2010-06-16 21:46:09 +08:00
|
|
|
obj-$(CONFIG_SERIAL_MRST_MAX3110) += mrst_max3110.o
|
2010-07-27 15:20:22 +08:00
|
|
|
obj-$(CONFIG_SERIAL_MFD_HSU) += mfd.o
|
2010-10-26 21:13:52 +08:00
|
|
|
obj-$(CONFIG_SERIAL_IFX6X60) += ifx6x60.o
|
2010-11-17 08:55:54 +08:00
|
|
|
obj-$(CONFIG_SERIAL_PCH_UART) += pch_uart.o
|
2011-02-10 03:16:34 +08:00
|
|
|
obj-$(CONFIG_SERIAL_MSM_SMD) += msm_smd_tty.o
|
2011-01-11 22:54:54 +08:00
|
|
|
obj-$(CONFIG_SERIAL_MXS_AUART) += mxs-auart.o
|
2011-04-05 20:10:57 +08:00
|
|
|
obj-$(CONFIG_SERIAL_LANTIQ) += lantiq.o
|
2011-04-30 12:07:43 +08:00
|
|
|
obj-$(CONFIG_SERIAL_XILINX_PS_UART) += xilinx_uartps.o
|
2011-11-17 23:17:04 +08:00
|
|
|
obj-$(CONFIG_SERIAL_SIRFSOC) += sirfsoc_uart.o
|
2013-01-08 18:57:44 +08:00
|
|
|
obj-$(CONFIG_SERIAL_TEGRA) += serial-tegra.o
|
2011-06-21 01:26:11 +08:00
|
|
|
obj-$(CONFIG_SERIAL_AR933X) += ar933x_uart.o
|
2012-01-25 16:05:04 +08:00
|
|
|
obj-$(CONFIG_SERIAL_EFM32_UART) += efm32-uart.o
|
2012-10-27 15:17:12 +08:00
|
|
|
obj-$(CONFIG_SERIAL_ARC) += arc_uart.o
|
2013-01-17 12:28:40 +08:00
|
|
|
obj-$(CONFIG_SERIAL_RP2) += rp2.o
|
2013-06-07 09:20:40 +08:00
|
|
|
obj-$(CONFIG_SERIAL_FSL_LPUART) += fsl_lpuart.o
|
2014-04-17 21:47:58 +08:00
|
|
|
obj-$(CONFIG_SERIAL_MEN_Z135) += men_z135_uart.o
|
2014-05-14 02:20:43 +08:00
|
|
|
|
|
|
|
# GPIOLIB helpers for modem control lines
|
|
|
|
obj-$(CONFIG_SERIAL_MCTRL_GPIO) += serial_mctrl_gpio.o
|