diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /include/linux/isdnif.h | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'include/linux/isdnif.h')
-rw-r--r-- | include/linux/isdnif.h | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/include/linux/isdnif.h b/include/linux/isdnif.h index 0fc6ff27622..b8c23f88dd5 100644 --- a/include/linux/isdnif.h +++ b/include/linux/isdnif.h | |||
@@ -10,12 +10,51 @@ | |||
10 | * of the GNU General Public License, incorporated herein by reference. | 10 | * of the GNU General Public License, incorporated herein by reference. |
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | |||
13 | #ifndef __ISDNIF_H__ | 14 | #ifndef __ISDNIF_H__ |
14 | #define __ISDNIF_H__ | 15 | #define __ISDNIF_H__ |
15 | 16 | ||
16 | 17 | ||
18 | /* | ||
19 | * Values for general protocol-selection | ||
20 | */ | ||
21 | #define ISDN_PTYPE_UNKNOWN 0 /* Protocol undefined */ | ||
22 | #define ISDN_PTYPE_1TR6 1 /* german 1TR6-protocol */ | ||
23 | #define ISDN_PTYPE_EURO 2 /* EDSS1-protocol */ | ||
24 | #define ISDN_PTYPE_LEASED 3 /* for leased lines */ | ||
25 | #define ISDN_PTYPE_NI1 4 /* US NI-1 protocol */ | ||
26 | #define ISDN_PTYPE_MAX 7 /* Max. 8 Protocols */ | ||
27 | |||
28 | /* | ||
29 | * Values for Layer-2-protocol-selection | ||
30 | */ | ||
31 | #define ISDN_PROTO_L2_X75I 0 /* X75/LAPB with I-Frames */ | ||
32 | #define ISDN_PROTO_L2_X75UI 1 /* X75/LAPB with UI-Frames */ | ||
33 | #define ISDN_PROTO_L2_X75BUI 2 /* X75/LAPB with UI-Frames */ | ||
34 | #define ISDN_PROTO_L2_HDLC 3 /* HDLC */ | ||
35 | #define ISDN_PROTO_L2_TRANS 4 /* Transparent (Voice) */ | ||
36 | #define ISDN_PROTO_L2_X25DTE 5 /* X25/LAPB DTE mode */ | ||
37 | #define ISDN_PROTO_L2_X25DCE 6 /* X25/LAPB DCE mode */ | ||
38 | #define ISDN_PROTO_L2_V11096 7 /* V.110 bitrate adaption 9600 Baud */ | ||
39 | #define ISDN_PROTO_L2_V11019 8 /* V.110 bitrate adaption 19200 Baud */ | ||
40 | #define ISDN_PROTO_L2_V11038 9 /* V.110 bitrate adaption 38400 Baud */ | ||
41 | #define ISDN_PROTO_L2_MODEM 10 /* Analog Modem on Board */ | ||
42 | #define ISDN_PROTO_L2_FAX 11 /* Fax Group 2/3 */ | ||
43 | #define ISDN_PROTO_L2_HDLC_56K 12 /* HDLC 56k */ | ||
44 | #define ISDN_PROTO_L2_MAX 15 /* Max. 16 Protocols */ | ||
45 | |||
46 | /* | ||
47 | * Values for Layer-3-protocol-selection | ||
48 | */ | ||
49 | #define ISDN_PROTO_L3_TRANS 0 /* Transparent */ | ||
50 | #define ISDN_PROTO_L3_TRANSDSP 1 /* Transparent with DSP */ | ||
51 | #define ISDN_PROTO_L3_FCLASS2 2 /* Fax Group 2/3 CLASS 2 */ | ||
52 | #define ISDN_PROTO_L3_FCLASS1 3 /* Fax Group 2/3 CLASS 1 */ | ||
53 | #define ISDN_PROTO_L3_MAX 7 /* Max. 8 Protocols */ | ||
54 | |||
55 | #ifdef __KERNEL__ | ||
56 | |||
17 | #include <linux/skbuff.h> | 57 | #include <linux/skbuff.h> |
18 | #include <uapi/linux/isdnif.h> | ||
19 | 58 | ||
20 | /***************************************************************************/ | 59 | /***************************************************************************/ |
21 | /* Extensions made by Werner Cornelius (werner@ikt.de) */ | 60 | /* Extensions made by Werner Cornelius (werner@ikt.de) */ |
@@ -502,4 +541,6 @@ typedef struct { | |||
502 | extern int register_isdn(isdn_if*); | 541 | extern int register_isdn(isdn_if*); |
503 | #include <asm/uaccess.h> | 542 | #include <asm/uaccess.h> |
504 | 543 | ||
544 | #endif /* __KERNEL__ */ | ||
545 | |||
505 | #endif /* __ISDNIF_H__ */ | 546 | #endif /* __ISDNIF_H__ */ |