/* * valkyriefb.c -- frame buffer device for the PowerMac 'valkyrie' display * * Created 8 August 1998 by * Martin Costabel and Kevin Schoedel * * Vmode-switching changes and vmode 15/17 modifications created 29 August * 1998 by Barry K. Nathan . * * Ported to m68k Macintosh by David Huggins-Daines * * Derived directly from: * * controlfb.c -- frame buffer device for the PowerMac 'control' display * Copyright (C) 1998 Dan Jacobowitz * * pmc-valkyrie.c -- Console support for PowerMac "valkyrie" display adaptor. * Copyright (C) 1997 Paul Mackerras. * * and indirectly: * * Frame buffer structure from: * drivers/video/chipsfb.c -- frame buffer device for * Chips & Technologies 65550 chip. * * Copyright (C) 1998 Paul Mackerras * * This file is derived from the Powermac "chips" driver: * Copyright (C) 1997 Fabio Riccardi. * And from the frame buffer device for Open Firmware-initialized devices: * Copyright (C) 1997 Geert Uytterhoeven. * * Hardware information from: * control.c: Console support for PowerMac "control" display adaptor. * Copyright (C) 1996 Paul Mackerras * * 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 #ifdef CONFIG_FB_COMPAT_XPMAC #include #endif #include #include #include #ifdef CONFIG_MAC #include #include #else #include #endif #include #include