Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
impa7.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <asm/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>

Go to the source code of this file.

Macros

#define WINDOW_ADDR0   0x00000000 /* physical properties of flash */
 
#define WINDOW_SIZE0   0x00800000
 
#define WINDOW_ADDR1   0x10000000 /* physical properties of flash */
 
#define WINDOW_SIZE1   0x00800000
 
#define NUM_FLASHBANKS   2
 
#define BUSWIDTH   4
 
#define PROBETYPES   { "jedec_probe", NULL }
 
#define MSG_PREFIX   "impA7:" /* prefix for our printk()'s */
 
#define MTDID   "impa7-%d" /* for mtdparts= partitioning */
 

Functions

 module_init (init_impa7)
 
 module_exit (cleanup_impa7)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Pavel Bartusek <[email protected]>")
 
 MODULE_DESCRIPTION ("MTD map driver for implementa impA7")
 

Macro Definition Documentation

#define BUSWIDTH   4

Definition at line 25 of file impa7.c.

#define MSG_PREFIX   "impA7:" /* prefix for our printk()'s */

Definition at line 30 of file impa7.c.

#define MTDID   "impa7-%d" /* for mtdparts= partitioning */

Definition at line 31 of file impa7.c.

#define NUM_FLASHBANKS   2

Definition at line 24 of file impa7.c.

#define PROBETYPES   { "jedec_probe", NULL }

Definition at line 28 of file impa7.c.

#define WINDOW_ADDR0   0x00000000 /* physical properties of flash */

Definition at line 20 of file impa7.c.

#define WINDOW_ADDR1   0x10000000 /* physical properties of flash */

Definition at line 22 of file impa7.c.

#define WINDOW_SIZE0   0x00800000

Definition at line 21 of file impa7.c.

#define WINDOW_SIZE1   0x00800000

Definition at line 23 of file impa7.c.

Function Documentation

MODULE_AUTHOR ( "Pavel Bartusek <[email protected]>"  )
MODULE_DESCRIPTION ( "MTD map driver for implementa impA7"  )
module_exit ( cleanup_impa7  )
module_init ( init_impa7  )
MODULE_LICENSE ( "GPL"  )