skfbiinc.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /******************************************************************************
  2. *
  3. * (C)Copyright 1998,1999 SysKonnect,
  4. * a business unit of Schneider & Koch & Co. Datensysteme GmbH.
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * The information in this file is provided "AS IS" without warranty.
  12. *
  13. ******************************************************************************/
  14. #ifndef _SKFBIINC_
  15. #define _SKFBIINC_
  16. #include "supern_2.h"
  17. /*
  18. * special defines for use into .asm files
  19. */
  20. #define ERR_FLAGS (FS_MSRABT | FS_SEAC2 | FS_SFRMERR | FS_SFRMTY1)
  21. #ifdef PCI
  22. #define IMASK_FAST (IS_PLINT1 | IS_PLINT2 | IS_TIMINT | IS_TOKEN | \
  23. IS_MINTR2 | IS_MINTR3 | IS_R1_P | \
  24. IS_R1_C | IS_XA_C | IS_XS_C)
  25. #endif
  26. #ifdef PCI
  27. #define ISR_MASK (IS_MINTR1 | IS_R1_F | IS_XS_F| IS_XA_F | IMASK_FAST)
  28. #else
  29. #define ISR_MASK (IS_MINTR1 | IS_MINTR2 | IMASK_FAST)
  30. #endif
  31. #define FMA_FM_CMDREG1 FMA(FM_CMDREG1)
  32. #define FMA_FM_CMDREG2 FMA(FM_CMDREG2)
  33. #define FMA_FM_STMCHN FMA(FM_STMCHN)
  34. #define FMA_FM_RPR FMA(FM_RPR)
  35. #define FMA_FM_WPXA0 FMA(FM_WPXA0)
  36. #define FMA_FM_WPXA2 FMA(FM_WPXA2)
  37. #define FMA_FM_MARR FMA(FM_MARR)
  38. #define FMA_FM_MARW FMA(FM_MARW)
  39. #define FMA_FM_MDRU FMA(FM_MDRU)
  40. #define FMA_FM_MDRL FMA(FM_MDRL)
  41. #define FMA_ST1L FMA(FM_ST1L)
  42. #define FMA_ST1U FMA(FM_ST1U)
  43. #define FMA_ST2L FMA(FM_ST2L)
  44. #define FMA_ST2U FMA(FM_ST2U)
  45. #ifdef SUPERNET_3
  46. #define FMA_ST3L FMA(FM_ST3L)
  47. #define FMA_ST3U FMA(FM_ST3U)
  48. #endif
  49. #define TMODE_RRQ RQ_RRQ
  50. #define TMODE_WAQ2 RQ_WA2
  51. #define HSRA HSR(0)
  52. #define FMA_FM_ST1L FMA_ST1L
  53. #define FMA_FM_ST1U FMA_ST1U
  54. #define FMA_FM_ST2L FMA_ST2L
  55. #define FMA_FM_ST2U FMA_ST2U
  56. #ifdef SUPERNET_3
  57. #define FMA_FM_ST3L FMA_ST3L
  58. #define FMA_FM_ST3U FMA_ST3U
  59. #endif
  60. #define FMA_FM_SWPR FMA(FM_SWPR)
  61. #define FMA_FM_RPXA0 FMA(FM_RPXA0)
  62. #define FMA_FM_RPXS FMA(FM_RPXS)
  63. #define FMA_FM_WPXS FMA(FM_WPXS)
  64. #define FMA_FM_IMSK1U FMA(FM_IMSK1U)
  65. #define FMA_FM_IMSK1L FMA(FM_IMSK1L)
  66. #define FMA_FM_EAS FMA(FM_EAS)
  67. #define FMA_FM_EAA0 FMA(FM_EAA0)
  68. #define TMODE_WAQ0 RQ_WA0
  69. #define TMODE_WSQ RQ_WSQ
  70. /* Define default for DRV_PCM_STATE_CHANGE */
  71. #ifndef DRV_PCM_STATE_CHANGE
  72. #define DRV_PCM_STATE_CHANGE(smc,plc,p_state) /* nothing */
  73. #endif
  74. /* Define default for DRV_RMT_INDICATION */
  75. #ifndef DRV_RMT_INDICATION
  76. #define DRV_RMT_INDICATION(smc,i) /* nothing */
  77. #endif
  78. #endif /* n_SKFBIINC_ */