/* TPG CVS users: please don't commit changes to this file directly, send them to prumpf@tux.org and wait for a new version instead. Otherwise, your changes will get lost when prumpf releases the next version, as this file *will* be replaced with it. You have been warned. 2000-05-30, */ #if 1 #define DPRINTK(x) printk x #else #define DPRINTK(x) #endif /* * linux/drivers/video/sticon.c - console driver using HP's STI firmware * * Copyright (C) 2000 Philipp Rumpf * * Based on linux/drivers/video/vgacon.c and linux/drivers/video/fbcon.c, * which were * * Created 28 Sep 1997 by Geert Uytterhoeven * Rewritten by Martin Mares , July 1998 * Copyright (C) 1991, 1992 Linus Torvalds * 1995 Jay Estabrook * Copyright (C) 1995 Geert Uytterhoeven * Copyright (C) 1993 Bjoern Brauel * Roman Hodek * Copyright (C) 1993 Hamish Macdonald * Greg Harp * Copyright (C) 1994 David Carter [carter@compsci.bristol.ac.uk] * * with work by William Rucklidge (wjr@cs.cornell.edu) * Geert Uytterhoeven * Jes Sorensen (jds@kom.auc.dk) * Martin Apel * with work by Guenther Kelleter * Martin Schaller * Andreas Schwab * Emmanuel Marty (core@ggi-project.org) * Jakub Jelinek (jj@ultra.linux.cz) * Martin Mares * * 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. */ /* * TODO: * - call STI in virtual mode rather than in real mode * - support for PCI-only STI ROMs (which don't have a traditional region * list) * - safe detection (i.e. verify there is a graphics device at a given * address first, not just read a random device's io space) * - support for multiple STI devices in one machine * - support for byte-mode STI ROMs * - support for just using STI to switch to a colour fb (stifb ?) * - try to make it work on m68k hp workstations ;) */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include