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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [isdn/] [avmb1/] [capicmd.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1626 jcastillo
/*
2
 * $Id: capicmd.h,v 1.1 2005-12-20 10:16:58 jcastillo Exp $
3
 *
4
 * CAPI 2.0 Interface for Linux
5
 *
6
 * Copyright 1997 by Carsten Paeth (calle@calle.in-berlin.de)
7
 *
8
 * $Log: not supported by cvs2svn $
9
 * Revision 1.1.1.1  2001/09/10 07:44:18  simons
10
 * Initial import
11
 *
12
 * Revision 1.1.1.1  2001/07/02 17:58:32  simons
13
 * Initial revision
14
 *
15
 * Revision 1.1  1997/03/04 21:50:30  calle
16
 * Frirst version in isdn4linux
17
 *
18
 * Revision 2.2  1997/02/12 09:31:39  calle
19
 * new version
20
 *
21
 * Revision 1.1  1997/01/31 10:32:20  calle
22
 * Initial revision
23
 *
24
 *
25
 */
26
#ifndef __CAPICMD_H__
27
#define __CAPICMD_H__
28
 
29
/*----- CAPI commands -----*/
30
#define CAPI_ALERT                  0x01
31
#define CAPI_CONNECT                0x02
32
#define CAPI_CONNECT_ACTIVE         0x03
33
#define CAPI_CONNECT_B3_ACTIVE      0x83
34
#define CAPI_CONNECT_B3             0x82
35
#define CAPI_CONNECT_B3_T90_ACTIVE  0x88
36
#define CAPI_DATA_B3                0x86
37
#define CAPI_DISCONNECT_B3          0x84
38
#define CAPI_DISCONNECT             0x04
39
#define CAPI_FACILITY               0x80
40
#define CAPI_INFO                   0x08
41
#define CAPI_LISTEN                 0x05
42
#define CAPI_MANUFACTURER           0xff
43
#define CAPI_RESET_B3               0x87
44
#define CAPI_SELECT_B_PROTOCOL      0x41
45
 
46
/*----- CAPI subcommands -----*/
47
 
48
#define CAPI_REQ    0x80
49
#define CAPI_CONF   0x81
50
#define CAPI_IND    0x82
51
#define CAPI_RESP   0x83
52
 
53
/*----- CAPI combined commands -----*/
54
 
55
#define CAPICMD(cmd,subcmd)     (((cmd)<<8)|(subcmd))
56
 
57
#define CAPI_DISCONNECT_REQ             CAPICMD(CAPI_DISCONNECT,CAPI_REQ)
58
#define CAPI_DISCONNECT_CONF            CAPICMD(CAPI_DISCONNECT,CAPI_CONF)
59
#define CAPI_DISCONNECT_IND             CAPICMD(CAPI_DISCONNECT,CAPI_IND)
60
#define CAPI_DISCONNECT_RESP            CAPICMD(CAPI_DISCONNECT,CAPI_RESP)
61
 
62
#define CAPI_ALERT_REQ                  CAPICMD(CAPI_ALERT,CAPI_REQ)
63
#define CAPI_ALERT_CONF                 CAPICMD(CAPI_ALERT,CAPI_CONF)
64
 
65
#define CAPI_CONNECT_REQ                CAPICMD(CAPI_CONNECT,CAPI_REQ)
66
#define CAPI_CONNECT_CONF               CAPICMD(CAPI_CONNECT,CAPI_CONF)
67
#define CAPI_CONNECT_IND                CAPICMD(CAPI_CONNECT,CAPI_IND)
68
#define CAPI_CONNECT_RESP               CAPICMD(CAPI_CONNECT,CAPI_RESP)
69
 
70
#define CAPI_CONNECT_ACTIVE_REQ         CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_REQ)
71
#define CAPI_CONNECT_ACTIVE_CONF        CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_CONF)
72
#define CAPI_CONNECT_ACTIVE_IND         CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_IND)
73
#define CAPI_CONNECT_ACTIVE_RESP        CAPICMD(CAPI_CONNECT_ACTIVE,CAPI_RESP)
74
 
75
#define CAPI_SELECT_B_PROTOCOL_REQ      CAPICMD(CAPI_SELECT_B_PROTOCOL,CAPI_REQ)
76
#define CAPI_SELECT_B_PROTOCOL_CONF     CAPICMD(CAPI_SELECT_B_PROTOCOL,CAPI_CONF)
77
 
78
#define CAPI_CONNECT_B3_ACTIVE_REQ      CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_REQ)
79
#define CAPI_CONNECT_B3_ACTIVE_CONF     CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_CONF)
80
#define CAPI_CONNECT_B3_ACTIVE_IND      CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_IND)
81
#define CAPI_CONNECT_B3_ACTIVE_RESP     CAPICMD(CAPI_CONNECT_B3_ACTIVE,CAPI_RESP)
82
 
83
#define CAPI_CONNECT_B3_REQ             CAPICMD(CAPI_CONNECT_B3,CAPI_REQ)
84
#define CAPI_CONNECT_B3_CONF            CAPICMD(CAPI_CONNECT_B3,CAPI_CONF)
85
#define CAPI_CONNECT_B3_IND             CAPICMD(CAPI_CONNECT_B3,CAPI_IND)
86
#define CAPI_CONNECT_B3_RESP            CAPICMD(CAPI_CONNECT_B3,CAPI_RESP)
87
 
88
 
89
#define CAPI_CONNECT_B3_T90_ACTIVE_IND  CAPICMD(CAPI_CONNECT_B3_T90_ACTIVE,CAPI_IND)
90
#define CAPI_CONNECT_B3_T90_ACTIVE_RESP CAPICMD(CAPI_CONNECT_B3_T90_ACTIVE,CAPI_RESP)
91
 
92
#define CAPI_DATA_B3_REQ                CAPICMD(CAPI_DATA_B3,CAPI_REQ)
93
#define CAPI_DATA_B3_CONF               CAPICMD(CAPI_DATA_B3,CAPI_CONF)
94
#define CAPI_DATA_B3_IND                CAPICMD(CAPI_DATA_B3,CAPI_IND)
95
#define CAPI_DATA_B3_RESP               CAPICMD(CAPI_DATA_B3,CAPI_RESP)
96
 
97
#define CAPI_DISCONNECT_B3_REQ          CAPICMD(CAPI_DISCONNECT_B3,CAPI_REQ)
98
#define CAPI_DISCONNECT_B3_CONF         CAPICMD(CAPI_DISCONNECT_B3,CAPI_CONF)
99
#define CAPI_DISCONNECT_B3_IND          CAPICMD(CAPI_DISCONNECT_B3,CAPI_IND)
100
#define CAPI_DISCONNECT_B3_RESP         CAPICMD(CAPI_DISCONNECT_B3,CAPI_RESP)
101
 
102
#define CAPI_RESET_B3_REQ               CAPICMD(CAPI_RESET_B3,CAPI_REQ)
103
#define CAPI_RESET_B3_CONF              CAPICMD(CAPI_RESET_B3,CAPI_CONF)
104
#define CAPI_RESET_B3_IND               CAPICMD(CAPI_RESET_B3,CAPI_IND)
105
#define CAPI_RESET_B3_RESP              CAPICMD(CAPI_RESET_B3,CAPI_RESP)
106
 
107
#define CAPI_LISTEN_REQ                 CAPICMD(CAPI_LISTEN,CAPI_REQ)
108
#define CAPI_LISTEN_CONF                CAPICMD(CAPI_LISTEN,CAPI_CONF)
109
 
110
#define CAPI_MANUFACTURER_REQ           CAPICMD(CAPI_MANUFACTURER,CAPI_REQ)
111
#define CAPI_MANUFACTURER_CONF          CAPICMD(CAPI_MANUFACTURER,CAPI_CONF)
112
#define CAPI_MANUFACTURER_IND           CAPICMD(CAPI_MANUFACTURER,CAPI_IND)
113
#define CAPI_MANUFACTURER_RESP          CAPICMD(CAPI_MANUFACTURER,CAPI_RESP)
114
 
115
#define CAPI_FACILITY_REQ               CAPICMD(CAPI_FACILITY,CAPI_REQ)
116
#define CAPI_FACILITY_CONF              CAPICMD(CAPI_FACILITY,CAPI_CONF)
117
#define CAPI_FACILITY_IND               CAPICMD(CAPI_FACILITY,CAPI_IND)
118
#define CAPI_FACILITY_RESP              CAPICMD(CAPI_FACILITY,CAPI_RESP)
119
 
120
#define CAPI_INFO_REQ                   CAPICMD(CAPI_INFO,CAPI_REQ)
121
#define CAPI_INFO_CONF                  CAPICMD(CAPI_INFO,CAPI_CONF)
122
#define CAPI_INFO_IND                   CAPICMD(CAPI_INFO,CAPI_IND)
123
#define CAPI_INFO_RESP                  CAPICMD(CAPI_INFO,CAPI_RESP)
124
 
125
#endif                          /* __CAPICMD_H__ */

powered by: WebSVN 2.1.0

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