Rev 23 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 23 | Rev 176 | ||
|---|---|---|---|
| 1 | #ifndef _PCICC32_LOCAL_H__ |
1 | #ifndef _PCICC32_LOCAL_H__ |
| 2 | #define _PCICC32_LOCAL_H__ |
2 | #define _PCICC32_LOCAL_H__ |
| 3 | //----------------------------------------------------------------------- |
3 | //----------------------------------------------------------------------- |
| 4 | // Address definitions and constants for PCIADA of PCICC32 interface |
4 | // Address definitions and constants for PCIADA of PCICC32 interface |
| 5 | // designed by A.Rausch |
5 | // designed by A.Rausch |
| 6 | // |
6 | // |
| 7 | // (c) 1999 ARW Elektronik |
7 | // (c) 1999 ARW Elektronik |
| 8 | // |
8 | // |
| 9 | // this source code is published under GPL (Open Source). You can use, redistrubute and |
9 | // this source code is published under GPL (Open Source). You can use, redistrubute and |
| 10 | // modify it unless this header is not modified or deleted. No warranty is given that |
10 | // modify it unless this header is not modified or deleted. No warranty is given that |
| 11 | // this software will work like expected. |
11 | // this software will work like expected. |
| 12 | // This product is not authorized for use as critical component in life support systems |
12 | // This product is not authorized for use as critical component in life support systems |
| 13 | // wihout the express written approval of ARW Elektronik Germany. |
13 | // wihout the express written approval of ARW Elektronik Germany. |
| 14 | // |
14 | // |
| 15 | // Please announce changes and hints to ARW Elektronik |
15 | // Please announce changes and hints to ARW Elektronik |
| 16 | // |
16 | // |
| 17 | // what who when |
17 | // what who when |
| 18 | // first parts derived from PCIVME AR 10.03.2000 |
18 | // first parts derived from PCIVME AR 10.03.2000 |
| 19 | // added initialisation for AUTOREAD AR 17.03.2001 |
19 | // added initialisation for AUTOREAD AR 17.03.2001 |
| 20 | // |
20 | // |
| 21 | 21 | ||
| 22 | /*-----------------------------------------------------------------------*/ |
22 | /*-----------------------------------------------------------------------*/ |
| 23 | /* all addresses relative to PCI-Window */ |
23 | /* all addresses relative to PCI-Window */ |
| 24 | 24 | ||
| 25 | /*--------- some masks in CSR -------------------------------------------*/ |
25 | /*--------- some masks in CSR -------------------------------------------*/ |
| 26 | #define MASK_MODNR (WORD)0x00F0 /* the mask to get the module No */ |
26 | #define MASK_MODNR (WORD)0x00F0 /* the mask to get the module No */ |
| 27 | #define MASK_FPGA (WORD)0x0F00 /* the mask to get the FPGA rev. */ |
27 | #define MASK_FPGA (WORD)0x0F00 /* the mask to get the FPGA rev. */ |
| 28 | #define MASK_MODTYPE (WORD)0xF000 /* the mask to get type of module*/ |
28 | #define MASK_MODTYPE (WORD)0xF000 /* the mask to get type of module*/ |
| 29 | 29 | ||
| 30 | /*---------- release und inhibit into 0x50 of PLX ------------------------*/ |
30 | /*---------- release und inhibit into 0x50 of PLX ------------------------*/ |
| 31 | #define RELEASE_CC32 (WORD)0x4186 /* write this to release access ..*/ |
31 | #define RELEASE_CC32 (WORD)0x4186 /* write this to release access ..*/ |
| 32 | #define INHIBIT_CC32 (WORD)0x4086 /* write this to inhibit access ..*/ |
32 | #define INHIBIT_CC32 (WORD)0x4086 /* write this to inhibit access ..*/ |
| 33 | #define ENABLE_PCIADA_IRQS (WORD)0x0049 /* enable PCIADA IRQs */ |
33 | #define ENABLE_PCIADA_IRQS (WORD)0x0049 /* enable PCIADA IRQs */ |
| 34 | #define DISABLE_PCIADA_IRQS (WORD)0x0009 /* disable PCIADA IRQs */ |
34 | #define DISABLE_PCIADA_IRQS (WORD)0x0009 /* disable PCIADA IRQs */ |
| 35 | 35 | ||
| 36 | #endif // _PCICC32_LOCAL_H__ |
36 | #endif // _PCICC32_LOCAL_H__ |
| 37 | 37 | ||