1/* $Id: hisax_cfg.h,v 1.1.2.1 2004/01/24 20:47:23 keil Exp $ 2 * define of the basic HiSax configuration structures 3 * and pcmcia interface 4 * 5 * This software may be used and distributed according to the terms 6 * of the GNU General Public License, incorporated herein by reference. 7 * 8 */ 9 10#define ISDN_CTYPE_16_0 1 11#define ISDN_CTYPE_8_0 2 12#define ISDN_CTYPE_16_3 3 13#define ISDN_CTYPE_PNP 4 14#define ISDN_CTYPE_A1 5 15#define ISDN_CTYPE_ELSA 6 16#define ISDN_CTYPE_ELSA_PNP 7 17#define ISDN_CTYPE_TELESPCMCIA 8 18#define ISDN_CTYPE_IX1MICROR2 9 19#define ISDN_CTYPE_ELSA_PCMCIA 10 20#define ISDN_CTYPE_DIEHLDIVA 11 21#define ISDN_CTYPE_ASUSCOM 12 22#define ISDN_CTYPE_TELEINT 13 23#define ISDN_CTYPE_TELES3C 14 24#define ISDN_CTYPE_SEDLBAUER 15 25#define ISDN_CTYPE_SPORTSTER 16 26#define ISDN_CTYPE_MIC 17 27#define ISDN_CTYPE_ELSA_PCI 18 28#define ISDN_CTYPE_COMPAQ_ISA 19 29#define ISDN_CTYPE_NETJET_S 20 30#define ISDN_CTYPE_TELESPCI 21 31#define ISDN_CTYPE_SEDLBAUER_PCMCIA 22 32#define ISDN_CTYPE_AMD7930 23 33#define ISDN_CTYPE_NICCY 24 34#define ISDN_CTYPE_S0BOX 25 35#define ISDN_CTYPE_A1_PCMCIA 26 36#define ISDN_CTYPE_FRITZPCI 27 37#define ISDN_CTYPE_SEDLBAUER_FAX 28 38#define ISDN_CTYPE_ISURF 29 39#define ISDN_CTYPE_ACERP10 30 40#define ISDN_CTYPE_HSTSAPHIR 31 41#define ISDN_CTYPE_BKM_A4T 32 42#define ISDN_CTYPE_SCT_QUADRO 33 43#define ISDN_CTYPE_GAZEL 34 44#define ISDN_CTYPE_HFC_PCI 35 45#define ISDN_CTYPE_W6692 36 46#define ISDN_CTYPE_HFC_SX 37 47#define ISDN_CTYPE_NETJET_U 38 48#define ISDN_CTYPE_HFC_SP_PCMCIA 39 49#define ISDN_CTYPE_DYNAMIC 40 50#define ISDN_CTYPE_ENTERNOW 41 51#define ISDN_CTYPE_COUNT 41 52 53typedef struct IsdnCardState IsdnCardState_t; 54typedef struct IsdnCard IsdnCard_t; 55 56struct IsdnCard { 57 int typ; 58 int protocol; /* EDSS1, 1TR6 or NI1 */ 59 unsigned long para[4]; 60 IsdnCardState_t *cs; 61}; 62 63typedef int (*hisax_setup_func_t)(struct IsdnCard *card); 64 65extern void HiSax_closecard(int); 66extern int hisax_init_pcmcia(void *, int *, IsdnCard_t *); 67