Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/cfi.h>
#include <linux/mtd/flashchip.h>
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/list.h>
Go to the source code of this file.
Data Structures | |
struct | esb2rom_window |
struct | esb2rom_map_info |
Macros | |
#define | MOD_NAME KBUILD_BASENAME |
#define | ADDRESS_NAME_LEN 18 |
#define | ROM_PROBE_STEP_SIZE (64*1024) /* 64KiB */ |
#define | BIOS_CNTL 0xDC |
#define | BIOS_LOCK_ENABLE 0x02 |
#define | BIOS_WRITE_ENABLE 0x01 |
#define | FWH_DEC_EN1 0xD8 |
#define | FWH_F8_EN 0x8000 |
#define | FWH_F0_EN 0x4000 |
#define | FWH_E8_EN 0x2000 |
#define | FWH_E0_EN 0x1000 |
#define | FWH_D8_EN 0x0800 |
#define | FWH_D0_EN 0x0400 |
#define | FWH_C8_EN 0x0200 |
#define | FWH_C0_EN 0x0100 |
#define | FWH_LEGACY_F_EN 0x0080 |
#define | FWH_LEGACY_E_EN 0x0040 |
#define | FWH_70_EN 0x0008 |
#define | FWH_60_EN 0x0004 |
#define | FWH_50_EN 0x0002 |
#define | FWH_40_EN 0x0001 |
#define | FWH_SEL1 0xD0 |
#define | FWH_SEL2 0xD4 |
#define | FWH_8MiB |
#define | FWH_7MiB |
#define | FWH_6MiB |
#define | FWH_5MiB |
#define | FWH_4MiB |
#define | FWH_3_5MiB |
#define | FWH_3MiB |
#define | FWH_2_5MiB |
#define | FWH_2MiB (FWH_F8_EN | FWH_F0_EN | FWH_E8_EN | FWH_E0_EN) |
#define | FWH_1_5MiB (FWH_F8_EN | FWH_F0_EN | FWH_E8_EN) |
#define | FWH_1MiB (FWH_F8_EN | FWH_F0_EN) |
#define | FWH_0_5MiB (FWH_F8_EN) |
Functions | |
module_init (init_esb2rom) | |
module_exit (cleanup_esb2rom) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Lew Glendenning <[email protected]>") | |
MODULE_DESCRIPTION ("MTD map driver for BIOS chips on the ESB2 southbridge") | |
#define FWH_2_5MiB |
#define FWH_3_5MiB |
#define FWH_3MiB |
#define FWH_4MiB |
#define FWH_5MiB |
#define FWH_6MiB |
#define FWH_7MiB |
#define FWH_8MiB |
MODULE_AUTHOR | ( | "Lew Glendenning <[email protected]>" | ) |
module_exit | ( | cleanup_esb2rom | ) |
module_init | ( | init_esb2rom | ) |
MODULE_LICENSE | ( | "GPL" | ) |