hisax_cfg.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. #define ISDN_CTYPE_16_0 1
  10. #define ISDN_CTYPE_8_0 2
  11. #define ISDN_CTYPE_16_3 3
  12. #define ISDN_CTYPE_PNP 4
  13. #define ISDN_CTYPE_A1 5
  14. #define ISDN_CTYPE_ELSA 6
  15. #define ISDN_CTYPE_ELSA_PNP 7
  16. #define ISDN_CTYPE_TELESPCMCIA 8
  17. #define ISDN_CTYPE_IX1MICROR2 9
  18. #define ISDN_CTYPE_ELSA_PCMCIA 10
  19. #define ISDN_CTYPE_DIEHLDIVA 11
  20. #define ISDN_CTYPE_ASUSCOM 12
  21. #define ISDN_CTYPE_TELEINT 13
  22. #define ISDN_CTYPE_TELES3C 14
  23. #define ISDN_CTYPE_SEDLBAUER 15
  24. #define ISDN_CTYPE_SPORTSTER 16
  25. #define ISDN_CTYPE_MIC 17
  26. #define ISDN_CTYPE_ELSA_PCI 18
  27. #define ISDN_CTYPE_COMPAQ_ISA 19
  28. #define ISDN_CTYPE_NETJET_S 20
  29. #define ISDN_CTYPE_TELESPCI 21
  30. #define ISDN_CTYPE_SEDLBAUER_PCMCIA 22
  31. #define ISDN_CTYPE_AMD7930 23
  32. #define ISDN_CTYPE_NICCY 24
  33. #define ISDN_CTYPE_S0BOX 25
  34. #define ISDN_CTYPE_A1_PCMCIA 26
  35. #define ISDN_CTYPE_FRITZPCI 27
  36. #define ISDN_CTYPE_SEDLBAUER_FAX 28
  37. #define ISDN_CTYPE_ISURF 29
  38. #define ISDN_CTYPE_ACERP10 30
  39. #define ISDN_CTYPE_HSTSAPHIR 31
  40. #define ISDN_CTYPE_BKM_A4T 32
  41. #define ISDN_CTYPE_SCT_QUADRO 33
  42. #define ISDN_CTYPE_GAZEL 34
  43. #define ISDN_CTYPE_HFC_PCI 35
  44. #define ISDN_CTYPE_W6692 36
  45. #define ISDN_CTYPE_HFC_SX 37
  46. #define ISDN_CTYPE_NETJET_U 38
  47. #define ISDN_CTYPE_HFC_SP_PCMCIA 39
  48. #define ISDN_CTYPE_DYNAMIC 40
  49. #define ISDN_CTYPE_ENTERNOW 41
  50. #define ISDN_CTYPE_COUNT 41
  51. typedef struct IsdnCardState IsdnCardState_t;
  52. typedef struct IsdnCard IsdnCard_t;
  53. struct IsdnCard {
  54. int typ;
  55. int protocol; /* EDSS1, 1TR6 or NI1 */
  56. unsigned long para[4];
  57. IsdnCardState_t *cs;
  58. };
  59. typedef int (*hisax_setup_func_t)(struct IsdnCard *card);
  60. extern void HiSax_closecard(int);
  61. extern int hisax_init_pcmcia(void *, int *, IsdnCard_t *);