/* * linux/drivers/video/cyberfb.c -- CyberVision64 frame buffer device * $Id: cyberfb.c,v 1.6 1998/09/11 04:54:58 abair Exp $ * * Copyright (C) 1998 Alan Bair * * This file is based on two CyberVision64 frame buffer device drivers * * The second CyberVision64 frame buffer device (cvision.c cvision_core.c): * * Copyright (c) 1997 Antonio Santos * * Released as a patch to 2.1.35, but never included in the source tree. * This is based on work from the NetBSD CyberVision64 frame buffer driver * and support files (grf_cv.c, grf_cvreg.h, ite_cv.c): * Permission to use the source of this driver was obtained from the * author Michael Teske by Alan Bair. * * Copyright (c) 1995 Michael Teske * * The first CyberVision64 frame buffer device (cyberfb.c): * * Copyright (C) 1996 Martin Apel * Geert Uytterhoeven * * Which is based on the Amiga frame buffer device (amifb.c): * * Copyright (C) 1995 Geert Uytterhoeven * * * History: * - 22 Dec 95: Original version by Martin Apel * - 05 Jan 96: Geert: integration into the current source tree * - 01 Aug 98: Alan: Merge in code from cvision.c and cvision_core.c * $Log: cyberfb.c,v $ * Revision 1.6 1998/09/11 04:54:58 abair * Update for 2.1.120 change in include file location. * Clean up for public release. * * Revision 1.5 1998/09/03 04:27:13 abair * Move cv64_load_video_mode to cyber_set_video so a new video mode is install * with each change of the 'var' data. * * Revision 1.4 1998/09/01 00:31:17 abair * Put in a set of default 8,16,24 bpp modes and map cyber8,16 to them. * Update operations with 'par' to handle a more complete set of parameter * values for encode/decode process. * * Revision 1.3 1998/08/31 21:31:33 abair * Swap 800x490 for 640x480 video mode and more cleanup. * Abandon idea to resurrect "custom" mode setting via kernel opts, * instead work on making use of fbset program to do this. * * Revision 1.2 1998/08/31 06:17:08 abair * Make updates for changes in cyberfb.c released in 2.1.119 * and do some cleanup of the code. * * Revision 1.1 1998/08/29 18:38:31 abair * Initial revision * * Revision 1.3 1998/08/17 06:21:53 abair * Remove more redundant code after merging in cvision_core.c * Set blanking by colormap to pale red to detect this vs trying to * use video blanking. More formating to Linux code style. * * Revision 1.2 1998/08/15 17:51:37 abair * Added cvision_core.c code from 2.1.35 patches. * Changed to compile correctly and switch to using initialization * code. Added debugging and dropping of duplicate code. * * * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * for more details. */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "cyberfb.h" #include