/*
* copyed from from linux kernel 2.2.4
* removed internal stuff (#ifdef __KERNEL__)
*/
/* $XFree86: xc/programs/Xserver/hw/xfree86/fbdevhw/fbpriv.h,v 1.2 2000/01/21 02:30:02 dawes Exp $ */
#ifdef HAVE_XORG_CONFIG_H
#include <xorg-config.h>
#endif
#ifndef _LINUX_FB_H
#define _LINUX_FB_H
/* Definitions of frame buffers */
/* ioctls
0x46 is 'F' */
/* 0x4607-0x460B are defined below */
/* #define FBIOGET_MONITORSPEC 0x460C */
/* #define FBIOPUT_MONITORSPEC 0x460D */
/* #define FBIOSWITCH_MONIBIT 0x460E */
struct fb_fix_screeninfo {
/* (physical address) */
/* (physical address) */
};
/* Interpretation of offset for color fields: All offsets are from the right,
* inside a "pixel" value, which is exactly 'bits_per_pixel' wide (means: you
* can use the offset as right argument to <<). A pixel afterwards is a bit
* stream and is written to video memory as that unmodified. This implies
* big-endian byte order if bits_per_pixel is greater than 8.
*/
struct fb_bitfield {
/* right */
};
/* values */
/* vtotal = 144d/288n/576i => PAL */
/* vtotal = 121d/242n/484i => NTSC */
struct fb_var_screeninfo {
/* Timing: All values in pixclocks, except pixclock (of course) */
};
struct fb_cmap {
};
struct fb_con2fbmap {
};
struct fb_monspecs {
};
#if 1
#endif
#if 1 /* Preliminary */
/*
* Hardware Cursor
*/
struct fb_fix_cursorinfo {
};
struct fb_var_cursorinfo {
};
struct fb_cursorstate {
};
#define FB_CURSOR_OFF 0
#endif /* Preliminary */
#endif /* _LINUX_FB_H */