162306a36Sopenharmony_ci/*
262306a36Sopenharmony_ci *	linux/include/video/pmag-ba-fb.h
362306a36Sopenharmony_ci *
462306a36Sopenharmony_ci *	TURBOchannel PMAG-BA Color Frame Buffer (CFB) card support,
562306a36Sopenharmony_ci *	Copyright (C) 1999, 2000, 2001 by
662306a36Sopenharmony_ci *	Michael Engel <engel@unix-ag.org>,
762306a36Sopenharmony_ci *	Karsten Merker <merker@linuxtag.org>
862306a36Sopenharmony_ci *	Copyright (c) 2005  Maciej W. Rozycki
962306a36Sopenharmony_ci *
1062306a36Sopenharmony_ci *	This file is subject to the terms and conditions of the GNU General
1162306a36Sopenharmony_ci *	Public License.  See the file COPYING in the main directory of this
1262306a36Sopenharmony_ci *	archive for more details.
1362306a36Sopenharmony_ci */
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci/* IOmem resource offsets.  */
1662306a36Sopenharmony_ci#define PMAG_BA_FBMEM		0x000000	/* frame buffer */
1762306a36Sopenharmony_ci#define PMAG_BA_BT459		0x200000	/* Bt459 RAMDAC */
1862306a36Sopenharmony_ci#define PMAG_BA_IRQ		0x300000	/* IRQ acknowledge */
1962306a36Sopenharmony_ci#define PMAG_BA_ROM		0x380000	/* REX option ROM */
2062306a36Sopenharmony_ci#define PMAG_BA_BT438		0x380000	/* Bt438 clock chip reset */
2162306a36Sopenharmony_ci#define PMAG_BA_SIZE		0x400000	/* address space size */
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci/* Bt459 register offsets, byte-wide registers.  */
2462306a36Sopenharmony_ci#define BT459_ADDR_LO		0x0		/* address low */
2562306a36Sopenharmony_ci#define BT459_ADDR_HI		0x4		/* address high */
2662306a36Sopenharmony_ci#define BT459_DATA		0x8		/* data window register */
2762306a36Sopenharmony_ci#define BT459_CMAP		0xc		/* color map window register */
28