capi.c (a1c613ae4c322ddd58d5a8539dbfba2a0380a8c0) capi.c (3a00da027946cd08db1c1be2de4620950bbdf074)
1/* $Id: capi.c,v 1.1.2.7 2004/04/28 09:48:59 armin Exp $
2 *
3 * CAPI 2.0 Interface for Linux
4 *
5 * Copyright 1996 by Carsten Paeth <calle@calle.de>
6 *
7 * This software may be used and distributed according to the terms
8 * of the GNU General Public License, incorporated herein by reference.

--- 1217 unchanged lines hidden (view full) ---

1226
1227static void capinc_tty_hangup(struct tty_struct *tty)
1228{
1229 struct capiminor *mp = tty->driver_data;
1230
1231 tty_port_hangup(&mp->port);
1232}
1233
1/* $Id: capi.c,v 1.1.2.7 2004/04/28 09:48:59 armin Exp $
2 *
3 * CAPI 2.0 Interface for Linux
4 *
5 * Copyright 1996 by Carsten Paeth <calle@calle.de>
6 *
7 * This software may be used and distributed according to the terms
8 * of the GNU General Public License, incorporated herein by reference.

--- 1217 unchanged lines hidden (view full) ---

1226
1227static void capinc_tty_hangup(struct tty_struct *tty)
1228{
1229 struct capiminor *mp = tty->driver_data;
1230
1231 tty_port_hangup(&mp->port);
1232}
1233
1234static void capinc_tty_send_xchar(struct tty_struct *tty, char ch)
1234static void capinc_tty_send_xchar(struct tty_struct *tty, u8 ch)
1235{
1235{
1236 pr_debug("capinc_tty_send_xchar(%d)\n", ch);
1236 pr_debug("capinc_tty_send_xchar(%u)\n", ch);
1237}
1238
1239static const struct tty_operations capinc_ops = {
1240 .open = capinc_tty_open,
1241 .close = capinc_tty_close,
1242 .write = capinc_tty_write,
1243 .put_char = capinc_tty_put_char,
1244 .flush_chars = capinc_tty_flush_chars,

--- 196 unchanged lines hidden ---
1237}
1238
1239static const struct tty_operations capinc_ops = {
1240 .open = capinc_tty_open,
1241 .close = capinc_tty_close,
1242 .write = capinc_tty_write,
1243 .put_char = capinc_tty_put_char,
1244 .flush_chars = capinc_tty_flush_chars,

--- 196 unchanged lines hidden ---