#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>
#include <video/vga.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("(c) 2006-2007 Ondrej Zajicek <[email protected]>") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_DESCRIPTION ("fbdev driver for S3 Trio/Virge") |
|
| module_param (mode_option, charp, 0444) |
|
| MODULE_PARM_DESC (mode_option,"Default video mode ('640x480-8@60', etc)") |
|
| module_param_named (mode, mode_option, charp, 0444) |
|
| MODULE_PARM_DESC (mode,"Default video mode ('640x480-8@60', etc) (deprecated)") |
|
| module_param (fasttext, int, 0644) |
|
| MODULE_PARM_DESC (fasttext,"Enable S3 fast text mode (1=enable, 0=disable, default=1)") |
|
| MODULE_DEVICE_TABLE (pci, s3_devices) |
|
| module_init (s3fb_init) |
|
| module_exit (s3fb_cleanup) |
|
#define CHIP_260_VIRGE_MX 0x14 |
#define CHIP_325_VIRGE 0x09 |
#define CHIP_357_VIRGE_GX2 0x0D |
#define CHIP_359_VIRGE_GX2P 0x0E |
#define CHIP_360_TRIO3D_1X 0x10 |
#define CHIP_362_TRIO3D_2X 0x11 |
#define CHIP_365_TRIO3D 0x13 |
#define CHIP_368_TRIO3D_2X 0x12 |
#define CHIP_36X_TRIO3D_1X_2X 0x83 |
#define CHIP_375_VIRGE_DX 0x0B |
#define CHIP_385_VIRGE_GX 0x0C |
#define CHIP_551_PLATO_PX 0x07 |
#define CHIP_732_TRIO32 0x01 |
#define CHIP_764_TRIO64 0x02 |
#define CHIP_765_TRIO64VP 0x03 |
#define CHIP_767_TRIO64UVP 0x04 |
#define CHIP_775_TRIO64V2_DX 0x05 |
#define CHIP_785_TRIO64V2_GX 0x06 |
#define CHIP_988_VIRGE_VX 0x0A |
#define CHIP_M65_AURORA64VP 0x08 |
#define CHIP_UNDECIDED_FLAG 0x80 |
#define CHIP_UNKNOWN 0x00 |
#define CHIP_XXX_TRIO 0x80 |
#define CHIP_XXX_TRIO64V2_DXGX 0x81 |
#define CHIP_XXX_VIRGE_DXGX 0x82 |
#define MMIO_OFFSET 0x1000000 |
#define MMIO_SIZE 0x10000 |
MODULE_DESCRIPTION |
( |
"fbdev driver for S3 Trio/Virge" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
s3_devices |
|
|
) |
| |
module_exit |
( |
s3fb_cleanup |
| ) |
|
module_init |
( |
s3fb_init |
| ) |
|
module_param |
( |
mode_option |
, |
|
|
charp |
, |
|
|
0444 |
|
|
) |
| |
module_param |
( |
fasttext |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
module_param_named |
( |
mode |
, |
|
|
mode_option |
, |
|
|
charp |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mode_option |
, |
|
|
"Default video mode ('640x480-8@60', etc)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
mode |
, |
|
|
"Default video mode ('640x480-8@60', etc) (deprecated)" |
|
|
) |
| |