#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/spinlock.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/ioport.h>
#include <linux/platform_device.h>
#include <asm/io.h>
#include <asm/vga.h>
Go to the source code of this file.
#define DPRINTK |
( |
|
args... | ) |
|
#define HGA_CONFIG_COL132 0x08 |
#define HGA_CURSOR_BLINKING 0x00 |
#define HGA_CURSOR_OFF 0x20 |
#define HGA_CURSOR_SLOWBLINK 0x60 |
#define HGA_GFX_MODE_EN 0x01 |
#define HGA_GFX_PAGE_EN 0x02 |
#define HGA_GFX_PORT 0x3bf /* Graphics control port */ |
#define HGA_INDEX_PORT 0x3b4 /* Register select port */ |
#define HGA_MODE_BLINK_EN 0x20 |
#define HGA_MODE_GFX_PAGE1 0x80 |
#define HGA_MODE_GRAPHICS 0x02 |
#define HGA_MODE_PORT 0x3b8 /* Mode control port */ |
#define HGA_MODE_VIDEO_EN 0x08 |
#define HGA_ROWADDR |
( |
|
row | ) |
((row%4)*8192 + (row>>2)*90) |
#define HGA_STATUS_HSYNC 0x01 |
#define HGA_STATUS_PORT 0x3ba /* Status and Config port */ |
#define HGA_STATUS_VIDEO 0x08 |
#define HGA_STATUS_VSYNC 0x80 |
#define HGA_VALUE_PORT 0x3b5 /* Register value port */ |
- Enumerator:
TYPE_HERC |
|
TYPE_HERCPLUS |
|
TYPE_HERCCOLOR |
|
Definition at line 75 of file hgafb.c.
MODULE_DESCRIPTION |
( |
"FBDev driver for Hercules Graphics Adaptor" |
| ) |
|
module_exit |
( |
hgafb_exit |
| ) |
|
module_init |
( |
hgafb_init |
| ) |
|
module_param |
( |
nologo |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
nologo |
| ) |
|