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

Go to the source code of this file.

Macros

#define WINDOW_START   0xd8000
 
#define WINDOW_LENGTH   0x2000
 
#define WINDOW_SHIFT   25
 
#define WINDOW_MASK   0x1FFF
 

Functions

 module_init (init_vmax301)
 
 module_exit (cleanup_vmax301)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("David Woodhouse <[email protected]>")
 
 MODULE_DESCRIPTION ("MTD map driver for Tempustech VMAX SBC301 board")
 

Macro Definition Documentation

#define WINDOW_LENGTH   0x2000

Definition at line 29 of file vmax301.c.

#define WINDOW_MASK   0x1FFF

Definition at line 31 of file vmax301.c.

#define WINDOW_SHIFT   25

Definition at line 30 of file vmax301.c.

#define WINDOW_START   0xd8000

Definition at line 28 of file vmax301.c.

Function Documentation

MODULE_AUTHOR ( "David Woodhouse <[email protected]>"  )
MODULE_DESCRIPTION ( "MTD map driver for Tempustech VMAX SBC301 board )
module_exit ( cleanup_vmax301  )
module_init ( init_vmax301  )
MODULE_LICENSE ( "GPL"  )