summaryrefslogtreecommitdiff
path: root/drivers/staging/speakup/Makefile
diff options
context:
space:
mode:
authorOkash Khawaja <okash.khawaja@gmail.com>2017-05-15 18:45:33 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-16 14:05:42 +0200
commit1ab92da32e37758c0e2e2a455f06d5f40609f14e (patch)
treeb18ad58e8088c5b731480c2155034f6edf590281 /drivers/staging/speakup/Makefile
parent12e84c71b7d4ee38d51377fd494ac748ee4e6912 (diff)
staging: speakup: add tty-based comms functions
This adds spk_ttyio.c file. It contains a set of functions which implement those methods in spk_synth struct which relate to sending bytes out using serial comms. Implementations in this file perform the same function but using TTY subsystem instead. Currently synths access serial ports, directly poking standard ISA ports by trying to steal them from serial driver. Some ISA cards actually need this way of doing it, but most other synthesizers don't, and can actually work by using the proper TTY subsystem through a new N_SPEAKUP line discipline. So this adds the methods for drivers to switch to accessing serial ports through the TTY subsystem, whenever appropriate. Signed-off-by: Okash Khawaja <okash.khawaja@gmail.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/Makefile')
-rw-r--r--drivers/staging/speakup/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/speakup/Makefile b/drivers/staging/speakup/Makefile
index c5e43a59822f..c864ea69c40d 100644
--- a/drivers/staging/speakup/Makefile
+++ b/drivers/staging/speakup/Makefile
@@ -25,6 +25,7 @@ speakup-y := \
kobjects.o \
selection.o \
serialio.o \
+ spk_ttyio.o \
synth.o \
thread.o \
varhandlers.o