Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <asm/io.h>
Go to the source code of this file.
Data Structures | |
struct | map_region |
Macros | |
#define | MAX_NUM_REGIONS 4 |
#define | MAX_NUM_PARTITIONS 8 |
#define | DEF_WINDOW_ADDR_PHY 0x00000000 |
#define | DEF_WINDOW_SIZE 0x00800000 |
#define | MTD_FORTUNET_PK "MTD FortuNet: " |
#define | MAX_NAME_SIZE 128 |
Functions | |
__setup ("MTD_Region=", MTD_New_Region) | |
module_init (init_fortunet) | |
module_exit (cleanup_fortunet) | |
MODULE_AUTHOR ("FortuNet, Inc.") | |
MODULE_DESCRIPTION ("MTD map driver for FortuNet boards") | |
Variables | |
struct map_info | default_map |
#define DEF_WINDOW_ADDR_PHY 0x00000000 |
Definition at line 20 of file fortunet.c.
#define DEF_WINDOW_SIZE 0x00800000 |
Definition at line 21 of file fortunet.c.
#define MAX_NAME_SIZE 128 |
Definition at line 25 of file fortunet.c.
#define MAX_NUM_PARTITIONS 8 |
Definition at line 18 of file fortunet.c.
#define MAX_NUM_REGIONS 4 |
Definition at line 17 of file fortunet.c.
#define MTD_FORTUNET_PK "MTD FortuNet: " |
Definition at line 23 of file fortunet.c.
__setup | ( | ) |
MODULE_AUTHOR | ( | " | FortuNet, |
Inc." | |||
) |
module_exit | ( | cleanup_fortunet | ) |
module_init | ( | init_fortunet | ) |
Definition at line 44 of file fortunet.c.