diff options
Diffstat (limited to 'drivers/isdn/hisax/hisax.h')
-rw-r--r-- | drivers/isdn/hisax/hisax.h | 63 |
1 files changed, 48 insertions, 15 deletions
diff --git a/drivers/isdn/hisax/hisax.h b/drivers/isdn/hisax/hisax.h index 0c67d5c4a..6f5b5615c 100644 --- a/drivers/isdn/hisax/hisax.h +++ b/drivers/isdn/hisax/hisax.h @@ -1,8 +1,16 @@ -/* $Id: hisax.h,v 2.38 1999/11/14 23:37:03 keil Exp $ +/* $Id: hisax.h,v 2.40 2000/01/20 19:51:46 keil Exp $ * Basic declarations, defines and prototypes * * $Log: hisax.h,v $ + * Revision 2.40 2000/01/20 19:51:46 keil + * Fix AddTimer message + * Change CONFIG defines + * + * Revision 2.39 1999/11/18 00:00:43 werner + * + * Added support for HFC-S+ and HFC-SP cards + * * Revision 2.38 1999/11/14 23:37:03 keil * new ISA memory mapped IO * @@ -784,6 +792,31 @@ struct hfcPCI_hw { struct timer_list timer; }; +struct hfcSX_hw { + unsigned int base; + unsigned char cirm; + unsigned char ctmt; + unsigned char conn; + unsigned char mst_m; + unsigned char int_m1; + unsigned char int_m2; + unsigned char int_s1; + unsigned char sctrl; + unsigned char sctrl_r; + unsigned char sctrl_e; + unsigned char trm; + unsigned char stat; + unsigned char fifo; + unsigned char bswapped; + unsigned char nt_mode; + unsigned char chip; + int b_fifo_size; + unsigned char last_fifo; + void *extra; + int nt_timer; + struct timer_list timer; +}; + struct hfcD_hw { unsigned int addr; unsigned int bfifosize; @@ -894,6 +927,10 @@ struct hfcpci_chip { int ph_state; }; +struct hfcsx_chip { + int ph_state; +}; + struct w6692_chip { int ph_state; }; @@ -934,6 +971,7 @@ struct IsdnCardState { struct njet_hw njet; struct hfcD_hw hfcD; struct hfcPCI_hw hfcpci; + struct hfcSX_hw hfcsx; struct ix1_hw niccy; struct isurf_hw isurf; struct saphir_hw saphir; @@ -973,6 +1011,7 @@ struct IsdnCardState { struct isac_chip isac; struct hfcd_chip hfcd; struct hfcpci_chip hfcpci; + struct hfcsx_chip hfcsx; struct w6692_chip w6692; } dc; u_char *rcvbuf; @@ -1032,7 +1071,8 @@ struct IsdnCardState { #define ISDN_CTYPE_GAZEL 34 #define ISDN_CTYPE_HFC_PCI 35 #define ISDN_CTYPE_W6692 36 -#define ISDN_CTYPE_COUNT 36 +#define ISDN_CTYPE_HFC_SX 37 +#define ISDN_CTYPE_COUNT 37 #ifdef ISDN_CHIP_ISAC @@ -1201,6 +1241,12 @@ struct IsdnCardState { #define CARD_HFC_PCI 0 #endif +#ifdef CONFIG_HISAX_HFC_SX +#define CARD_HFC_SX 1 +#else +#define CARD_HFC_SX 0 +#endif + #ifdef CONFIG_HISAX_AMD7930 #define CARD_AMD7930 1 #else @@ -1298,19 +1344,6 @@ struct IsdnCardState { #ifdef CONFIG_HISAX_EURO #undef TEI_PER_CARD #define TEI_PER_CARD 1 -#define HISAX_EURO_SENDCOMPLETE 1 -#define EXT_BEARER_CAPS 1 -#define HISAX_SEND_STD_LLC_IE 1 -#ifdef CONFIG_HISAX_NO_SENDCOMPLETE -#undef HISAX_EURO_SENDCOMPLETE -#endif -#ifdef CONFIG_HISAX_NO_LLC -#undef HISAX_SEND_STD_LLC_IE -#endif -#undef HISAX_DE_AOC -#ifdef CONFIG_DE_AOC -#define HISAX_DE_AOC 1 -#endif #endif /* L1 Debug */ |