/* * drivers/video/clgenfb.c - driver for Cirrus Logic chipsets * * Copyright 1999-2001 Jeff Garzik * * Contributors (thanks, all!) * * Jeff Rugen: * Major contributions; Motorola PowerStack (PPC and PCI) support, * GD54xx, 1280x1024 mode support, change MCLK based on VCLK. * * Geert Uytterhoeven: * Excellent code review. * * Lars Hecking: * Amiga updates and testing. * * Cliff Matthews : * 16bpp fix for CL-GD7548 (uses info from XFree86 4.2.0 source) * * Original clgenfb author: Frank Neumann * * Based on retz3fb.c and clgen.c: * Copyright (C) 1997 Jes Sorensen * Copyright (C) 1996 Frank Neumann * *************************************************************** * * Format this code with GNU indent '-kr -i8 -pcs' options. * * 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. * */ #define CLGEN_VERSION "1.9.9.1" #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef CONFIG_ZORRO #include #endif #ifdef CONFIG_PCI #include #endif #ifdef CONFIG_AMIGA #include #endif #ifdef CONFIG_ALL_PPC #include #define isPReP (_machine == _MACH_prep) #else #define isPReP 0 #endif #include