/* * linux/drivers/video/s3fb.c -- Frame buffer device driver for S3 Trio/Virge * * Copyright (c) 2006-2007 Ondrej Zajicek <santiago@crfreenet.org> * * 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. * * Code is based on David Boucher's viafb (http://davesdomain.org.uk/viafb/) * which is based on the code of neofb. */#include<linux/module.h>#include<linux/kernel.h>#include<linux/errno.h>#include<linux/string.h>#include<linux/mm.h>#include<linux/tty.h>#include<linux/delay.h>#include<linux/fb.h>#include<linux/svga.h>#include<linux/init.h>#include<linux/pci.h>#include<linux/console.h> /* Why should fb driver call console functions? because console_lock() */#include<video/vga.h>#include<linux/i2c.h>#include<linux/i2c-