Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | * This file is subject to the terms and conditions of the GNU General Public |
| 8 | * License. See the file README.legal in the main directory of this archive |
| 9 | * for more details. |
| 10 | */ |
| 11 | |
| 12 | #ifndef APUS_PCI_H |
| 13 | #define APUS_PCI_H |
| 14 | |
| 15 | |
| 16 | #define CSPPC_PCI_BRIDGE 0xfffe0000 |
| 17 | #define CSPPC_BRIDGE_ENDIAN 0x0000 |
| 18 | #define CSPPC_BRIDGE_INT 0x0010 |
| 19 | |
| 20 | #define CVPPC_PCI_CONFIG 0xfffc0000 |
| 21 | #define CVPPC_ROM_ADDRESS 0xe2000001 |
| 22 | #define CVPPC_REGS_REGION 0xef000000 |
| 23 | #define CVPPC_FB_APERTURE_ONE 0xe0000000 |
| 24 | #define CVPPC_FB_APERTURE_TWO 0xe1000000 |
| 25 | #define CVPPC_FB_SIZE 0x00800000 |
| 26 | |
| 27 | /* CVPPC_BRIDGE_ENDIAN */ |
| 28 | #define CSPPCF_BRIDGE_BIG_ENDIAN 0x02 |
| 29 | |
| 30 | /* CVPPC_BRIDGE_INT */ |
| 31 | #define CSPPCF_BRIDGE_ACTIVE_INT2 0x01 |
| 32 | |
| 33 | |
| 34 | #endif /* APUS_PCI_H */ |