brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 11250ee Raw
52 lines · c
1/*2 * Phase5 CybervisionPPC (TVP4020) definitions for the Permedia2 framebuffer3 * 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 Public10 * License.  See the file COPYING in the main directory of this archive11 * for more details.12 */13 14#ifndef CVISIONPPC_H15#define CVISIONPPC_H16 17#ifndef PM2FB_H18#include "pm2fb.h"19#endif20 21struct cvppc_par {22	unsigned char* pci_config;23	unsigned char* pci_bridge;24	u32 user_flags;25};26 27#define CSPPC_PCI_BRIDGE		0xfffe000028#define CSPPC_BRIDGE_ENDIAN		0x000029#define CSPPC_BRIDGE_INT		0x001030 31#define	CVPPC_PCI_CONFIG		0xfffc000032#define CVPPC_ROM_ADDRESS		0xe200000133#define CVPPC_REGS_REGION		0xef00000034#define CVPPC_FB_APERTURE_ONE		0xe000000035#define CVPPC_FB_APERTURE_TWO		0xe100000036#define CVPPC_FB_SIZE			0x0080000037#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	0x0243 44/* CVPPC_BRIDGE_INT */45#define CSPPCF_BRIDGE_ACTIVE_INT2	0x0146 47#endif	/* CVISIONPPC_H */48 49/*****************************************************************************50 * That's all folks!51 *****************************************************************************/52