1cfa29dd944f2c0fc04a2aa45bc2f5bf8deb4bfd
[linux-libre-firmware.git] / carl9170fw / carlfw / include / uart.h
1 /*
2  * carl9170 firmware - used by the ar9170 wireless device
3  *
4  * UART functions definition
5  *
6  * Copyright (c) 2000-2005 ZyDAS Technology Corporation
7  * Copyright (c) 2007-2009 Atheros Communications, Inc.
8  * Copyright    2009    Johannes Berg <johannes@sipsolutions.net>
9  * Copyright 2009-2011  Christian Lamparter <chunkeey@googlemail.com>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License along
22  * with this program; if not, write to the Free Software Foundation, Inc.,
23  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24  */
25
26 #ifndef __CARL9170FW_UART_H
27 #define __CARL9170FW_UART_H
28
29 #include "config.h"
30
31 #ifdef CONFIG_CARL9170FW_DEBUG_UART
32 void uart_putc(const char c);
33 void uart_print_hex_dump(const void *buf, const int len);
34 void uart_init(void);
35 #endif /* CONFIG_CARL9170FW_DEBUG_UART */
36
37 #endif /* __CARL9170FW_UART_H */