Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  *  linux/include/video/pmag-ba-fb.h
0003  *
0004  *  TURBOchannel PMAG-BA Color Frame Buffer (CFB) card support,
0005  *  Copyright (C) 1999, 2000, 2001 by
0006  *  Michael Engel <engel@unix-ag.org>,
0007  *  Karsten Merker <merker@linuxtag.org>
0008  *  Copyright (c) 2005  Maciej W. Rozycki
0009  *
0010  *  This file is subject to the terms and conditions of the GNU General
0011  *  Public License.  See the file COPYING in the main directory of this
0012  *  archive for more details.
0013  */
0014 
0015 /* IOmem resource offsets.  */
0016 #define PMAG_BA_FBMEM       0x000000    /* frame buffer */
0017 #define PMAG_BA_BT459       0x200000    /* Bt459 RAMDAC */
0018 #define PMAG_BA_IRQ     0x300000    /* IRQ acknowledge */
0019 #define PMAG_BA_ROM     0x380000    /* REX option ROM */
0020 #define PMAG_BA_BT438       0x380000    /* Bt438 clock chip reset */
0021 #define PMAG_BA_SIZE        0x400000    /* address space size */
0022 
0023 /* Bt459 register offsets, byte-wide registers.  */
0024 #define BT459_ADDR_LO       0x0     /* address low */
0025 #define BT459_ADDR_HI       0x4     /* address high */
0026 #define BT459_DATA      0x8     /* data window register */
0027 #define BT459_CMAP      0xc     /* color map window register */