aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/n_tracesink.h
diff options
context:
space:
mode:
authorJ Freyensee <james_p_freyensee@linux.intel.com>2011-05-06 19:56:50 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-05-13 19:31:00 -0400
commitee4f6b4b89665b92ead67deaa2e5d2ffa1af2b5f (patch)
treeadaaf31efc06fe2960827cba1510855bea6ea3d3 /drivers/tty/n_tracesink.h
parent0b61d2acb1ea48d8eba798ed92759b7f1b0f4209 (diff)
n_tracerouter and n_tracesink ldisc additions.
The n_tracerouter and n_tracesink line discpline drivers use the Linux tty line discpline framework to route trace data coming from a tty port (say UART for example) to the trace sink line discipline driver and to another tty port(say USB). Those these two line discipline drivers can be used together, independently from pti.c, they are part of the original implementation solution of the MIPI P1149.7, compact JTAG, PTI solution for Intel mobile platforms starting with the Medfield platform. Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty/n_tracesink.h')
-rw-r--r--drivers/tty/n_tracesink.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/tty/n_tracesink.h b/drivers/tty/n_tracesink.h
new file mode 100644
index 000000000000..a68bb44f1ef5
--- /dev/null
+++ b/drivers/tty/n_tracesink.h
@@ -0,0 +1,36 @@
1/*
2 * n_tracesink.h - Kernel driver API to route trace data in kernel space.
3 *
4 * Copyright (C) Intel 2011
5 *
6 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2
10 * as published by the Free Software Foundation.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 *
19 * The PTI (Parallel Trace Interface) driver directs trace data routed from
20 * various parts in the system out through the Intel Penwell PTI port and
21 * out of the mobile device for analysis with a debugging tool
22 * (Lauterbach, Fido). This is part of a solution for the MIPI P1149.7,
23 * compact JTAG, standard.
24 *
25 * This header file is used by n_tracerouter to be able to send the
26 * data of it's tty port to the tty port this module sits. This
27 * mechanism can also be used independent of the PTI module.
28 *
29 */
30
31#ifndef N_TRACESINK_H_
32#define N_TRACESINK_H_
33
34void n_tracesink_datadrain(u8 *buf, int count);
35
36#endif