hscx.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* $Id: hscx.h,v 1.8.2.2 2004/01/12 22:52:26 keil Exp $
  2. *
  3. * HSCX specific defines
  4. *
  5. * Author Karsten Keil
  6. * Copyright by Karsten Keil <keil@isdn4linux.de>
  7. *
  8. * This software may be used and distributed according to the terms
  9. * of the GNU General Public License, incorporated herein by reference.
  10. *
  11. */
  12. /* All Registers original Siemens Spec */
  13. #define HSCX_ISTA 0x20
  14. #define HSCX_CCR1 0x2f
  15. #define HSCX_CCR2 0x2c
  16. #define HSCX_TSAR 0x31
  17. #define HSCX_TSAX 0x30
  18. #define HSCX_XCCR 0x32
  19. #define HSCX_RCCR 0x33
  20. #define HSCX_MODE 0x22
  21. #define HSCX_CMDR 0x21
  22. #define HSCX_EXIR 0x24
  23. #define HSCX_XAD1 0x24
  24. #define HSCX_XAD2 0x25
  25. #define HSCX_RAH2 0x27
  26. #define HSCX_RSTA 0x27
  27. #define HSCX_TIMR 0x23
  28. #define HSCX_STAR 0x21
  29. #define HSCX_RBCL 0x25
  30. #define HSCX_XBCH 0x2d
  31. #define HSCX_VSTR 0x2e
  32. #define HSCX_RLCR 0x2e
  33. #define HSCX_MASK 0x20
  34. extern int HscxVersion(struct IsdnCardState *cs, char *s);
  35. extern void modehscx(struct BCState *bcs, int mode, int bc);
  36. extern void clear_pending_hscx_ints(struct IsdnCardState *cs);
  37. extern void inithscx(struct IsdnCardState *cs);
  38. extern void inithscxisac(struct IsdnCardState *cs, int part);