Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2003 Digi International (www.digi.com) |
| 3 | * Scott H Kilau <Scott_Kilau at digi dot com> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2, or (at your option) |
| 8 | * any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY, EXPRESS OR IMPLIED; without even the |
| 12 | * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 13 | * PURPOSE. See the GNU General Public License for more details. |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef __DGNC_TTY_H |
| 17 | #define __DGNC_TTY_H |
| 18 | |
| 19 | #include "dgnc_driver.h" |
| 20 | |
Lidza Louina | 03425f5 | 2013-09-09 15:01:22 -0400 | [diff] [blame] | 21 | int dgnc_tty_register(struct dgnc_board *brd); |
Daeseok Youn | eea5fd1 | 2016-09-26 09:43:51 +0900 | [diff] [blame] | 22 | void dgnc_tty_unregister(struct dgnc_board *brd); |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 23 | |
| 24 | int dgnc_tty_preinit(void); |
Lidza Louina | 03425f5 | 2013-09-09 15:01:22 -0400 | [diff] [blame] | 25 | int dgnc_tty_init(struct dgnc_board *); |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 26 | |
| 27 | void dgnc_tty_post_uninit(void); |
Daeseok Youn | 33ccb44 | 2016-09-26 09:46:12 +0900 | [diff] [blame] | 28 | void dgnc_cleanup_tty(struct dgnc_board *); |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 29 | |
| 30 | void dgnc_input(struct channel_t *ch); |
| 31 | void dgnc_carrier(struct channel_t *ch); |
| 32 | void dgnc_wakeup_writes(struct channel_t *ch); |
| 33 | void dgnc_check_queue_flow_control(struct channel_t *ch); |
| 34 | |
Lidza Louina | 0b99d58 | 2013-08-01 17:00:20 -0400 | [diff] [blame] | 35 | #endif |