/*1* Phase5 CybervisionPPC (TVP4020) definitions for the Permedia2 framebuffer2* driver.3*4* Copyright (c) 1998-1999 Ilario Nardinocchi ([email protected])5* --------------------------------------------------------------------------6* $Id: cvisionppc.h,v 1.8 1999/01/28 13:18:07 illo Exp $7* --------------------------------------------------------------------------8* This file is subject to the terms and conditions of the GNU General Public9* License. See the file COPYING in the main directory of this archive10* for more details.11*/1213#ifndef CVISIONPPC_H14#define CVISIONPPC_H1516#ifndef PM2FB_H17#include "pm2fb.h"18#endif1920struct cvppc_par {21unsigned char* pci_config;22unsigned char* pci_bridge;23u32 user_flags;24};2526#define CSPPC_PCI_BRIDGE 0xfffe000027#define CSPPC_BRIDGE_ENDIAN 0x000028#define CSPPC_BRIDGE_INT 0x00102930#define CVPPC_PCI_CONFIG 0xfffc000031#define CVPPC_ROM_ADDRESS 0xe200000132#define CVPPC_REGS_REGION 0xef00000033#define CVPPC_FB_APERTURE_ONE 0xe000000034#define CVPPC_FB_APERTURE_TWO 0xe100000035#define CVPPC_FB_SIZE 0x0080000036#define CVPPC_MEM_CONFIG_OLD 0xed61fcaa /* FIXME Fujitsu?? */37#define CVPPC_MEM_CONFIG_NEW 0xed41c532 /* FIXME USA?? */38#define CVPPC_MEMCLOCK 83000 /* in KHz */3940/* CVPPC_BRIDGE_ENDIAN */41#define CSPPCF_BRIDGE_BIG_ENDIAN 0x024243/* CVPPC_BRIDGE_INT */44#define CSPPCF_BRIDGE_ACTIVE_INT2 0x014546#endif /* CVISIONPPC_H */4748/*****************************************************************************49* That's all folks!50*****************************************************************************/515253