blob: fceb6c0f65835eec78b1e61a4c348028120d1d42 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Ralf Baechleaf690a92005-09-03 15:56:09 -07002 * linux/include/video/pmag-ba-fb.h
Linus Torvalds1da177e2005-04-16 15:20:36 -07003 *
Ralf Baechleaf690a92005-09-03 15:56:09 -07004 * TURBOchannel PMAG-BA Color Frame Buffer (CFB) card support,
5 * Copyright (C) 1999, 2000, 2001 by
6 * Michael Engel <engel@unix-ag.org>,
7 * Karsten Merker <merker@linuxtag.org>
8 * Copyright (c) 2005 Maciej W. Rozycki
9 *
10 * This file is subject to the terms and conditions of the GNU General
11 * Public License. See the file COPYING in the main directory of this
12 * archive for more details.
Linus Torvalds1da177e2005-04-16 15:20:36 -070013 */
14
Ralf Baechleaf690a92005-09-03 15:56:09 -070015/* IOmem resource offsets. */
16#define PMAG_BA_FBMEM 0x000000 /* frame buffer */
17#define PMAG_BA_BT459 0x200000 /* Bt459 RAMDAC */
18#define PMAG_BA_IRQ 0x300000 /* IRQ acknowledge */
19#define PMAG_BA_ROM 0x380000 /* REX option ROM */
20#define PMAG_BA_BT438 0x380000 /* Bt438 clock chip reset */
21#define PMAG_BA_SIZE 0x400000 /* address space size */
Linus Torvalds1da177e2005-04-16 15:20:36 -070022
Ralf Baechleaf690a92005-09-03 15:56:09 -070023/* Bt459 register offsets, byte-wide registers. */
24#define BT459_ADDR_LO 0x0 /* address low */
25#define BT459_ADDR_HI 0x4 /* address high */
26#define BT459_DATA 0x8 /* data window register */
27#define BT459_CMAP 0xc /* color map window register */