[CIFS] Add support for legacy servers part 5
[sfrench/cifs-2.6.git] / arch / ppc / platforms / pcore.h
1 /*
2  * arch/ppc/platforms/pcore.h
3  *
4  * Definitions for Force PowerCore board support
5  *
6  * Author: Matt Porter <mporter@mvista.com>
7  *
8  * 2001 (c) MontaVista, Software, Inc.  This file is licensed under
9  * the terms of the GNU General Public License version 2.  This program
10  * is licensed "as is" without any warranty of any kind, whether express
11  * or implied.
12  */
13
14 #ifndef __PPC_PLATFORMS_PCORE_H
15 #define __PPC_PLATFORMS_PCORE_H
16
17 #include <asm/mpc10x.h>
18
19 #define PCORE_TYPE_6750                 1
20 #define PCORE_TYPE_680                  2
21
22 #define PCORE_NVRAM_AS0                 0x73
23 #define PCORE_NVRAM_AS1                 0x75
24 #define PCORE_NVRAM_DATA                0x77
25
26 #define PCORE_DCCR_REG                  (MPC10X_MAPB_ISA_IO_BASE + 0x308)
27 #define PCORE_DCCR_L2_MASK              0xc0
28 #define PCORE_DCCR_L2_0KB               0x00
29 #define PCORE_DCCR_L2_256KB             0x40
30 #define PCORE_DCCR_L2_512KB             0xc0
31 #define PCORE_DCCR_L2_1MB               0x80
32 #define PCORE_DCCR_L2_2MB               0x00
33
34 #define PCORE_WINBOND_IDE_INT           0x43
35 #define PCORE_WINBOND_PCI_INT           0x44
36 #define PCORE_WINBOND_PRI_EDG_LVL       0x4d0
37 #define PCORE_WINBOND_SEC_EDG_LVL       0x4d1
38
39 #endif /* __PPC_PLATFORMS_PCORE_H */