]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/uapi/linux/isdnif.h
Merge tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[mirror_ubuntu-bionic-kernel.git] / include / uapi / linux / isdnif.h
1 /* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */
2 /* $Id: isdnif.h,v 1.43.2.2 2004/01/12 23:08:35 keil Exp $
3 *
4 * Linux ISDN subsystem
5 * Definition of the interface between the subsystem and its low-level drivers.
6 *
7 * Copyright 1994,95,96 by Fritz Elfert (fritz@isdn4linux.de)
8 * Copyright 1995,96 Thinking Objects Software GmbH Wuerzburg
9 *
10 * This software may be used and distributed according to the terms
11 * of the GNU General Public License, incorporated herein by reference.
12 *
13 */
14
15 #ifndef _UAPI__ISDNIF_H__
16 #define _UAPI__ISDNIF_H__
17
18
19 /*
20 * Values for general protocol-selection
21 */
22 #define ISDN_PTYPE_UNKNOWN 0 /* Protocol undefined */
23 #define ISDN_PTYPE_1TR6 1 /* german 1TR6-protocol */
24 #define ISDN_PTYPE_EURO 2 /* EDSS1-protocol */
25 #define ISDN_PTYPE_LEASED 3 /* for leased lines */
26 #define ISDN_PTYPE_NI1 4 /* US NI-1 protocol */
27 #define ISDN_PTYPE_MAX 7 /* Max. 8 Protocols */
28
29 /*
30 * Values for Layer-2-protocol-selection
31 */
32 #define ISDN_PROTO_L2_X75I 0 /* X75/LAPB with I-Frames */
33 #define ISDN_PROTO_L2_X75UI 1 /* X75/LAPB with UI-Frames */
34 #define ISDN_PROTO_L2_X75BUI 2 /* X75/LAPB with UI-Frames */
35 #define ISDN_PROTO_L2_HDLC 3 /* HDLC */
36 #define ISDN_PROTO_L2_TRANS 4 /* Transparent (Voice) */
37 #define ISDN_PROTO_L2_X25DTE 5 /* X25/LAPB DTE mode */
38 #define ISDN_PROTO_L2_X25DCE 6 /* X25/LAPB DCE mode */
39 #define ISDN_PROTO_L2_V11096 7 /* V.110 bitrate adaption 9600 Baud */
40 #define ISDN_PROTO_L2_V11019 8 /* V.110 bitrate adaption 19200 Baud */
41 #define ISDN_PROTO_L2_V11038 9 /* V.110 bitrate adaption 38400 Baud */
42 #define ISDN_PROTO_L2_MODEM 10 /* Analog Modem on Board */
43 #define ISDN_PROTO_L2_FAX 11 /* Fax Group 2/3 */
44 #define ISDN_PROTO_L2_HDLC_56K 12 /* HDLC 56k */
45 #define ISDN_PROTO_L2_MAX 15 /* Max. 16 Protocols */
46
47 /*
48 * Values for Layer-3-protocol-selection
49 */
50 #define ISDN_PROTO_L3_TRANS 0 /* Transparent */
51 #define ISDN_PROTO_L3_TRANSDSP 1 /* Transparent with DSP */
52 #define ISDN_PROTO_L3_FCLASS2 2 /* Fax Group 2/3 CLASS 2 */
53 #define ISDN_PROTO_L3_FCLASS1 3 /* Fax Group 2/3 CLASS 1 */
54 #define ISDN_PROTO_L3_MAX 7 /* Max. 8 Protocols */
55
56
57 #endif /* _UAPI__ISDNIF_H__ */