aboutsummaryrefslogtreecommitdiffstats
path: root/include/video/cvisionppc.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/video/cvisionppc.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'include/video/cvisionppc.h')
-rw-r--r--include/video/cvisionppc.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/include/video/cvisionppc.h b/include/video/cvisionppc.h
new file mode 100644
index 000000000000..11250eee9e98
--- /dev/null
+++ b/include/video/cvisionppc.h
@@ -0,0 +1,51 @@
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
21struct 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 *****************************************************************************/