OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [before_ORP/] [uclinux/] [uClinux-2.0.x/] [drivers/] [isdn/] [isdn_common.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/* $Id: isdn_common.h,v 1.1.1.1 2001-09-10 07:44:18 simons Exp $
2
 
3
 * header for Linux ISDN subsystem, common used functions and debugging-switches (linklevel).
4
 *
5
 * Copyright 1994-1998  by Fritz Elfert (fritz@isdn4linux.de)
6
 * Copyright 1995,96    by Thinking Objects Software GmbH Wuerzburg
7
 * Copyright 1995,96    by Michael Hipp (Michael.Hipp@student.uni-tuebingen.de)
8
 *
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)
12
 * any later version.
13
 *
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.
18
 *
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.
22
 *
23
 * $Log: not supported by cvs2svn $
24
 * Revision 1.1.1.1  2001/07/02 17:58:31  simons
25
 * Initial revision
26
 *
27
 * Revision 1.6.2.3  1998/11/05 22:11:50  fritz
28
 * Changed mail-address.
29
 *
30
 * Revision 1.6.2.2  1998/10/25 15:48:10  fritz
31
 * Misc bugfixes and adaptions to new HiSax
32
 *
33
 * Revision 1.6.2.1  1998/03/16 09:55:48  cal
34
 * Merged in TimRu-patches. Still needs validation in conjunction with ABC-patches.
35
 *
36
 * Revision 1.6  1997/02/28 02:32:44  fritz
37
 * Cleanup: Moved some tty related stuff from isdn_common.c
38
 *          to isdn_tty.c
39
 * Bugfix:  Bisync protocol did not behave like documented.
40
 *
41
 * Revision 1.5  1997/02/10 10:05:45  fritz
42
 * More changes for Kernel 2.1.X
43
 * Symbol information moved to isdn_syms.c
44
 *
45
 * Revision 1.4  1997/02/03 22:56:50  fritz
46
 * Removed isdn_writebuf_stub prototype.
47
 *
48
 * Revision 1.3  1996/05/19 00:13:05  fritz
49
 * Removed debug flag.
50
 *
51
 * Revision 1.2  1996/04/20 16:20:40  fritz
52
 * Misc. typos.
53
 *
54
 * Revision 1.1  1996/01/10 21:37:19  fritz
55
 * Initial revision
56
 *
57
 */
58
 
59
#undef  ISDN_DEBUG_MODEM_OPEN
60
#undef  ISDN_DEBUG_MODEM_IOCTL
61
#undef  ISDN_DEBUG_MODEM_WAITSENT
62
#undef  ISDN_DEBUG_MODEM_HUP
63
#undef  ISDN_DEBUG_MODEM_ICALL
64
#undef  ISDN_DEBUG_MODEM_DUMP
65
#undef  ISDN_DEBUG_MODEM_VOICE
66
#undef  ISDN_DEBUG_AT
67
#undef  ISDN_DEBUG_NET_DUMP
68
#undef  ISDN_DEBUG_NET_DIAL
69
#undef  ISDN_DEBUG_NET_ICALL
70
 
71
/* Prototypes */
72
extern void isdn_MOD_INC_USE_COUNT(void);
73
extern void isdn_MOD_DEC_USE_COUNT(void);
74
extern void isdn_free_channel(int di, int ch, int usage);
75
extern int isdn_command(isdn_ctrl *);
76
extern void isdn_all_eaz(int di, int ch);
77
extern int isdn_dc2minor(int di, int ch);
78
extern void isdn_info_update(void);
79
extern char *isdn_map_eaz2msn(char *msn, int di);
80
extern void isdn_timer_ctrl(int tf, int onoff);
81
extern void isdn_unexclusive_channel(int di, int ch);
82
extern int isdn_getnum(char **);
83
extern int isdn_readbchan(int, int, u_char *, u_char *, int, int);
84
extern int isdn_get_free_channel(int, int, int, int, int);
85
extern int isdn_writebuf_skb_stub(int, int, struct sk_buff *);
86
extern int register_isdn(isdn_if * i);
87
#if (LINUX_VERSION_CODE < 0x020111)
88
extern void isdn_export_syms(void);
89
#else
90
#define isdn_export_syms()
91
#endif
92
#if defined(ISDN_DEBUG_NET_DUMP) || defined(ISDN_DEBUG_MODEM_DUMP) || defined(CONFIG_ISDN_TIMEOUT_RULES)
93
extern void isdn_dumppkt(char *, u_char *, int, int);
94
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.