]>
git.ipfire.org Git - people/ms/linux.git/blob - drivers/net/skfp/h/skfbiinc.h
1 /******************************************************************************
3 * (C)Copyright 1998,1999 SysKonnect,
4 * a business unit of Schneider & Koch & Co. Datensysteme GmbH.
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.
11 * The information in this file is provided "AS IS" without warranty.
13 ******************************************************************************/
18 #include "h/supern_2.h"
21 * special defines for use into .asm files
23 #define ERR_FLAGS (FS_MSRABT | FS_SEAC2 | FS_SFRMERR | FS_SFRMTY1)
26 #define DMA_BUSY_CHECK CSRA
27 #define IMASK_FAST (IS_PLINT1 | IS_PLINT2 | IS_TIMINT)
28 #define HRQR (RQAA+(RQ_RRQ<<1))
29 #define HRQW (RQAA+(RQ_WA2<<1))
30 #define HRQA0 (RQAA+(RQ_WA0<<1))
31 #define HRQSQ (RQAA+(RQ_WSQ<<1))
35 #define DMA_BUSY_CHECK CSRA
36 #define DMA_HIGH_WORD 0x0400
37 #define DMA_MASK_M 0x0a
38 #define DMA_MODE_M 0x0b
39 #define DMA_BYTE_PTR_M 0x0c
40 #define DMA_MASK_S 0x0d4
41 #define DMA_MODE_S 0x0d6
42 #define DMA_BYTE_PTR_S 0x0d8
43 #define IMASK_FAST (IS_PLINT1 | IS_PLINT2 | IS_TIMINT | IS_TC)
47 #define IMASK_FAST (IS_PLINT1 | IS_PLINT2 | IS_TIMINT | IS_TOKEN | \
48 IS_CHCK_L | IS_BUSERR)
52 #define IMASK_FAST (IS_PLINT1 | IS_PLINT2 | IS_TIMINT | IS_TOKEN | \
53 IS_MINTR2 | IS_MINTR3 | IS_R1_P | \
54 IS_R1_C | IS_XA_C | IS_XS_C)
58 #define ISR_MASK (IS_MINTR1 | IS_R1_F | IS_XS_F| IS_XA_F | IMASK_FAST)
60 #define ISR_MASK (IS_MINTR1 | IS_MINTR2 | IMASK_FAST)
63 #define FMA_FM_CMDREG1 FMA(FM_CMDREG1)
64 #define FMA_FM_CMDREG2 FMA(FM_CMDREG2)
65 #define FMA_FM_STMCHN FMA(FM_STMCHN)
66 #define FMA_FM_RPR FMA(FM_RPR)
67 #define FMA_FM_WPXA0 FMA(FM_WPXA0)
68 #define FMA_FM_WPXA2 FMA(FM_WPXA2)
69 #define FMA_FM_MARR FMA(FM_MARR)
70 #define FMA_FM_MARW FMA(FM_MARW)
71 #define FMA_FM_MDRU FMA(FM_MDRU)
72 #define FMA_FM_MDRL FMA(FM_MDRL)
73 #define FMA_ST1L FMA(FM_ST1L)
74 #define FMA_ST1U FMA(FM_ST1U)
75 #define FMA_ST2L FMA(FM_ST2L)
76 #define FMA_ST2U FMA(FM_ST2U)
78 #define FMA_ST3L FMA(FM_ST3L)
79 #define FMA_ST3U FMA(FM_ST3U)
82 #define TMODE_RRQ RQ_RRQ
83 #define TMODE_WAQ2 RQ_WA2
87 #define FMA_FM_ST1L FMA_ST1L
88 #define FMA_FM_ST1U FMA_ST1U
89 #define FMA_FM_ST2L FMA_ST2L
90 #define FMA_FM_ST2U FMA_ST2U
92 #define FMA_FM_ST3L FMA_ST3L
93 #define FMA_FM_ST3U FMA_ST3U
96 #define FMA_FM_SWPR FMA(FM_SWPR)
98 #define FMA_FM_RPXA0 FMA(FM_RPXA0)
100 #define FMA_FM_RPXS FMA(FM_RPXS)
101 #define FMA_FM_WPXS FMA(FM_WPXS)
103 #define FMA_FM_IMSK1U FMA(FM_IMSK1U)
104 #define FMA_FM_IMSK1L FMA(FM_IMSK1L)
106 #define FMA_FM_EAS FMA(FM_EAS)
107 #define FMA_FM_EAA0 FMA(FM_EAA0)
109 #define TMODE_WAQ0 RQ_WA0
110 #define TMODE_WSQ RQ_WSQ
112 /* Define default for DRV_PCM_STATE_CHANGE */
113 #ifndef DRV_PCM_STATE_CHANGE
114 #define DRV_PCM_STATE_CHANGE(smc,plc,p_state) /* nothing */
117 /* Define default for DRV_RMT_INDICATION */
118 #ifndef DRV_RMT_INDICATION
119 #define DRV_RMT_INDICATION(smc,i) /* nothing */
122 #endif /* n_SKFBIINC_ */