b1lli.h
01:
02:
03:
04:
05: calle@calle.in-berlin.de
06:
07:
08:
09:
10:
11:
12: #ifndef _B1LLI_H_
13: #define _B1LLI_H_
14:
15:
16:
17: typedef struct avmb1_t4file {
18: int len;
19: unsigned char *data;
20: } avmb1_t4file;
21:
22: typedef struct avmb1_loaddef {
23: int contr;
24: avmb1_t4file t4file;
25: } avmb1_loaddef;
26:
27: typedef struct avmb1_loadandconfigdef {
28: int contr;
29: avmb1_t4file t4file;
30: avmb1_t4file t4config;
31: } avmb1_loadandconfigdef;
32:
33: typedef struct avmb1_resetdef {
34: int contr;
35: } avmb1_resetdef;
36:
37: typedef struct avmb1_getdef {
38: int contr;
39: int cardtype;
40: int cardstate;
41: } avmb1_getdef;
42:
43:
44:
45:
46: typedef struct avmb1_carddef {
47: int port;
48: int irq;
49: } avmb1_carddef;
50:
51: #define AVM_CARDTYPE_B1 0
52: #define AVM_CARDTYPE_T1 1
53: #define AVM_CARDTYPE_M1 2
54: #define AVM_CARDTYPE_M2 3
55:
56: typedef struct avmb1_extcarddef {
57: int port;
58: int irq;
59: int cardtype;
60: int cardnr;
61: } avmb1_extcarddef;
62:
63: #define AVMB1_LOAD 0
64: #define AVMB1_ADDCARD 1
65: #define AVMB1_RESETCARD 2
66: #define AVMB1_LOAD_AND_CONFIG 3
67: #define AVMB1_ADDCARD_WITH_TYPE 4
68: #define AVMB1_GET_CARDINFO 5
69: #define AVMB1_REMOVECARD 6
70:
71: #define AVMB1_REGISTERCARD_IS_OBSOLETE
72:
73: #endif
74:
© Andrew Scott 2006 -
2025,
All Rights Reserved