2 * $Id: ctctty.h,v 1.4 2001/03/22 12:46:01 felfert Exp $
4 * CTC / ESCON network driver, tty interface.
6 * Copyright (C) 2001 IBM Deutschland Entwicklung GmbH, IBM Corporation
7 * Author(s): Fritz Elfert (elfert@de.ibm.com, felfert@millenux.com)
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2, or (at your option)
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 #include <linux/version.h>
28 #include <linux/skbuff.h>
29 #include <linux/netdevice.h>
31 #if LINUX_VERSION_CODE < 0x020300
32 typedef struct device net_device;
34 typedef struct net_device net_device;
37 extern int ctc_tty_register_netdev(net_device *);
38 extern void ctc_tty_unregister_netdev(net_device *);
39 extern void ctc_tty_netif_rx(struct sk_buff *);
40 extern int ctc_tty_init(void);
41 extern void ctc_tty_cleanup(int);
42 extern void ctc_tty_setcarrier(net_device *, int);