aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hardware/eicon/um_xdi.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/isdn/hardware/eicon/um_xdi.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'drivers/isdn/hardware/eicon/um_xdi.h')
-rw-r--r--drivers/isdn/hardware/eicon/um_xdi.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/drivers/isdn/hardware/eicon/um_xdi.h b/drivers/isdn/hardware/eicon/um_xdi.h
new file mode 100644
index 000000000000..b48fc042a5bc
--- /dev/null
+++ b/drivers/isdn/hardware/eicon/um_xdi.h
@@ -0,0 +1,68 @@
1/* $Id: um_xdi.h,v 1.1.2.2 2002/10/02 14:38:38 armin Exp $ */
2
3#ifndef __DIVA_USER_MODE_XDI_H__
4#define __DIVA_USER_MODE_XDI_H__
5
6/*
7 Contains declaratiom of structures shared between application
8 and user mode idi driver
9*/
10
11typedef struct _diva_um_idi_adapter_features {
12 dword type;
13 dword features;
14 dword channels;
15 dword serial_number;
16 char name[128];
17} diva_um_idi_adapter_features_t;
18
19#define DIVA_UM_IDI_REQ_MASK 0x0000FFFF
20#define DIVA_UM_IDI_REQ_TYPE_MASK (~(DIVA_UM_IDI_REQ_MASK))
21#define DIVA_UM_IDI_GET_FEATURES 1 /* trigger features indication */
22#define DIVA_UM_IDI_REQ 2
23#define DIVA_UM_IDI_REQ_TYPE_MAN 0x10000000
24#define DIVA_UM_IDI_REQ_TYPE_SIG 0x20000000
25#define DIVA_UM_IDI_REQ_TYPE_NET 0x30000000
26#define DIVA_UM_IDI_REQ_MAN (DIVA_UM_IDI_REQ | DIVA_UM_IDI_REQ_TYPE_MAN)
27#define DIVA_UM_IDI_REQ_SIG (DIVA_UM_IDI_REQ | DIVA_UM_IDI_REQ_TYPE_SIG)
28#define DIVA_UM_IDI_REQ_NET (DIVA_UM_IDI_REQ | DIVA_UM_IDI_REQ_TYPE_NET)
29/*
30 data_length bytes will follow this structure
31*/
32typedef struct _diva_um_idi_req_hdr {
33 dword type;
34 dword Req;
35 dword ReqCh;
36 dword data_length;
37} diva_um_idi_req_hdr_t;
38
39typedef struct _diva_um_idi_ind_parameters {
40 dword Ind;
41 dword IndCh;
42} diva_um_idi_ind_parameters_t;
43
44typedef struct _diva_um_idi_rc_parameters {
45 dword Rc;
46 dword RcCh;
47} diva_um_idi_rc_parameters_t;
48
49typedef union _diva_um_idi_ind {
50 diva_um_idi_adapter_features_t features;
51 diva_um_idi_ind_parameters_t ind;
52 diva_um_idi_rc_parameters_t rc;
53} diva_um_idi_ind_t;
54
55#define DIVA_UM_IDI_IND_FEATURES 1 /* features indication */
56#define DIVA_UM_IDI_IND 2
57#define DIVA_UM_IDI_IND_RC 3
58/*
59 data_length bytes of data follow
60 this structure
61*/
62typedef struct _diva_um_idi_ind_hdr {
63 dword type;
64 diva_um_idi_ind_t hdr;
65 dword data_length;
66} diva_um_idi_ind_hdr_t;
67
68#endif