1 /* $Id: b1lli.h,v 1.8.8.3 2001/09/23 22:25:05 kai Exp $
3 * ISDN lowlevel-module for AVM B1-card.
5 * Copyright 1996 by Carsten Paeth (calle@calle.in-berlin.de)
7 * This software may be used and distributed according to the terms
8 * of the GNU General Public License, incorporated herein by reference.
15 * struct for loading t4 file
17 typedef struct avmb1_t4file
{
22 typedef struct avmb1_loaddef
{
27 typedef struct avmb1_loadandconfigdef
{
30 avmb1_t4file t4config
;
31 } avmb1_loadandconfigdef
;
33 typedef struct avmb1_resetdef
{
37 typedef struct avmb1_getdef
{
44 * struct for adding new cards
46 typedef struct avmb1_carddef
{
51 #define AVM_CARDTYPE_B1 0
52 #define AVM_CARDTYPE_T1 1
53 #define AVM_CARDTYPE_M1 2
54 #define AVM_CARDTYPE_M2 3
56 typedef struct avmb1_extcarddef
{
60 int cardnr
; /* for HEMA/T1 */
63 #define AVMB1_LOAD 0 /* load image to card */
64 #define AVMB1_ADDCARD 1 /* add a new card - OBSOLETE */
65 #define AVMB1_RESETCARD 2 /* reset a card */
66 #define AVMB1_LOAD_AND_CONFIG 3 /* load image and config to card */
67 #define AVMB1_ADDCARD_WITH_TYPE 4 /* add a new card, with cardtype */
68 #define AVMB1_GET_CARDINFO 5 /* get cardtype */
69 #define AVMB1_REMOVECARD 6 /* remove a card - OBSOLETE */
71 #define AVMB1_REGISTERCARD_IS_OBSOLETE
73 #endif /* _B1LLI_H_ */