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