Root/
1 | /* |
2 | * Phase5 CybervisionPPC (TVP4020) definitions for the Permedia2 framebuffer |
3 | * driver. |
4 | * |
5 | * Copyright (c) 1998-1999 Ilario Nardinocchi (nardinoc@CS.UniBO.IT) |
6 | * -------------------------------------------------------------------------- |
7 | * $Id: cvisionppc.h,v 1.8 1999/01/28 13:18:07 illo Exp $ |
8 | * -------------------------------------------------------------------------- |
9 | * This file is subject to the terms and conditions of the GNU General Public |
10 | * License. See the file COPYING in the main directory of this archive |
11 | * for more details. |
12 | */ |
13 | |
14 | #ifndef CVISIONPPC_H |
15 | #define CVISIONPPC_H |
16 | |
17 | #ifndef PM2FB_H |
18 | #include "pm2fb.h" |
19 | #endif |
20 | |
21 | struct cvppc_par { |
22 | unsigned char* pci_config; |
23 | unsigned char* pci_bridge; |
24 | u32 user_flags; |
25 | }; |
26 | |
27 | #define CSPPC_PCI_BRIDGE 0xfffe0000 |
28 | #define CSPPC_BRIDGE_ENDIAN 0x0000 |
29 | #define CSPPC_BRIDGE_INT 0x0010 |
30 | |
31 | #define CVPPC_PCI_CONFIG 0xfffc0000 |
32 | #define CVPPC_ROM_ADDRESS 0xe2000001 |
33 | #define CVPPC_REGS_REGION 0xef000000 |
34 | #define CVPPC_FB_APERTURE_ONE 0xe0000000 |
35 | #define CVPPC_FB_APERTURE_TWO 0xe1000000 |
36 | #define CVPPC_FB_SIZE 0x00800000 |
37 | #define CVPPC_MEM_CONFIG_OLD 0xed61fcaa /* FIXME Fujitsu?? */ |
38 | #define CVPPC_MEM_CONFIG_NEW 0xed41c532 /* FIXME USA?? */ |
39 | #define CVPPC_MEMCLOCK 83000 /* in KHz */ |
40 | |
41 | /* CVPPC_BRIDGE_ENDIAN */ |
42 | #define CSPPCF_BRIDGE_BIG_ENDIAN 0x02 |
43 | |
44 | /* CVPPC_BRIDGE_INT */ |
45 | #define CSPPCF_BRIDGE_ACTIVE_INT2 0x01 |
46 | |
47 | #endif /* CVISIONPPC_H */ |
48 | |
49 | /***************************************************************************** |
50 | * That's all folks! |
51 | *****************************************************************************/ |
52 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9