Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | * CTC / ESCON network driver, tty interface. |
| 3 | * |
| 4 | * Copyright (C) 2001 IBM Deutschland Entwicklung GmbH, IBM Corporation |
| 5 | * Author(s): Fritz Elfert (elfert@de.ibm.com, felfert@millenux.com) |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2, or (at your option) |
| 10 | * any later version. |
| 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 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this program; if not, write to the Free Software |
| 19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 20 | */ |
| 21 | |
| 22 | #ifndef _CTCTTY_H_ |
| 23 | #define _CTCTTY_H_ |
| 24 | |
| 25 | #include <linux/skbuff.h> |
| 26 | #include <linux/netdevice.h> |
| 27 | |
| 28 | extern int ctc_tty_register_netdev(struct net_device *); |
| 29 | extern void ctc_tty_unregister_netdev(struct net_device *); |
| 30 | extern void ctc_tty_netif_rx(struct sk_buff *); |
| 31 | extern int ctc_tty_init(void); |
| 32 | extern void ctc_tty_cleanup(void); |
| 33 | extern void ctc_tty_setcarrier(struct net_device *, int); |
| 34 | |
| 35 | #endif |