mrfioc2  2.3.0
plx9056.h
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2010 Brookhaven Science Associates, as Operator of
3 * Brookhaven National Laboratory.
4 * mrfioc2 is distributed subject to a Software License Agreement found
5 * in file LICENSE that is included with this distribution.
6 \*************************************************************************/
7 /*
8  * Author: Michael Davidsaver <mdavidsaver@gmail.com>
9  */
10 
11 #ifndef PLX9056_H
12 #define PLX9056_H
13 
14 /*
15  * A selection of registers for the PLX PCI9056
16  *
17  * This device is exposed as BAR #0
18  */
19 
20 #define U8_BIGEND9056 0x0C
21 # define BIGEND9056_BIG (1<<2)
22 
23 #define U32_INTCSR9056 0x68
24 # define INTCSR9056_PCI_Enable (1<<8)
25 # define INTCSR9056_LCL_Enable (1<<11)
26 # define INTCSR9056_LCL_Active (1<<15)
27 
28 #endif // PLX9056_H