From f5f0be26eff6c14c7a6c308233f2b7a59a9750a4 Mon Sep 17 00:00:00 2001 From: Christopher Brannon Date: Thu, 14 Oct 2010 19:23:56 -0500 Subject: [PATCH] --- yaml --- r: 220349 b: refs/heads/master c: e66c3d84759b84cf4816b252f15b8a023e7bd659 h: refs/heads/master i: 220347: 1cd2fc643350979890bcc69f5ef417bd08acc9a1 v: v3 --- [refs] | 2 +- trunk/drivers/staging/speakup/speakup_ltlk.c | 21 ++++++++++---------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/[refs] b/[refs] index b698981950ec..3d5cd69586e7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 75d6282d8b2d58b4722e63225f3951e1c9b0ebf8 +refs/heads/master: e66c3d84759b84cf4816b252f15b8a023e7bd659 diff --git a/trunk/drivers/staging/speakup/speakup_ltlk.c b/trunk/drivers/staging/speakup/speakup_ltlk.c index d8569591c5ac..971de1a13712 100644 --- a/trunk/drivers/staging/speakup/speakup_ltlk.c +++ b/trunk/drivers/staging/speakup/speakup_ltlk.c @@ -28,22 +28,21 @@ #include "speakup_dtlk.h" /* local header file for LiteTalk values */ #define DRV_VERSION "2.11" -#define synth_full( ) ( !( inb( synth_port_tts + UART_MSR ) & UART_MSR_CTS ) ) #define PROCSPEECH 0x0d static int synth_probe(struct spk_synth *synth); static struct var_t vars[] = { - { CAPS_START, .u.s = {"\x01+35p" }}, - { CAPS_STOP, .u.s = {"\x01-35p" }}, - { RATE, .u.n = {"\x01%ds", 8, 0, 9, 0, 0, NULL }}, - { PITCH, .u.n = {"\x01%dp", 50, 0, 99, 0, 0, NULL }}, - { VOL, .u.n = {"\x01%dv", 5, 0, 9, 0, 0, NULL }}, - { TONE, .u.n = {"\x01%dx", 1, 0, 2, 0, 0, NULL }}, - { PUNCT, .u.n = {"\x01%db", 7, 0, 15, 0, 0, NULL }}, - { VOICE, .u.n = {"\x01%do", 0, 0, 7, 0, 0, NULL }}, - { FREQUENCY, .u.n = {"\x01%df", 5, 0, 9, 0, 0, NULL }}, - { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL }}, + { CAPS_START, .u.s = {"\x01+35p" } }, + { CAPS_STOP, .u.s = {"\x01-35p" } }, + { RATE, .u.n = {"\x01%ds", 8, 0, 9, 0, 0, NULL } }, + { PITCH, .u.n = {"\x01%dp", 50, 0, 99, 0, 0, NULL } }, + { VOL, .u.n = {"\x01%dv", 5, 0, 9, 0, 0, NULL } }, + { TONE, .u.n = {"\x01%dx", 1, 0, 2, 0, 0, NULL } }, + { PUNCT, .u.n = {"\x01%db", 7, 0, 15, 0, 0, NULL } }, + { VOICE, .u.n = {"\x01%do", 0, 0, 7, 0, 0, NULL } }, + { FREQUENCY, .u.n = {"\x01%df", 5, 0, 9, 0, 0, NULL } }, + { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } }, V_LAST_VAR };