Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
nwflash.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/errno.h>
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/proc_fs.h>
#include <linux/miscdevice.h>
#include <linux/spinlock.h>
#include <linux/rwsem.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <linux/jiffies.h>
#include <asm/hardware/dec21285.h>
#include <asm/io.h>
#include <asm/mach-types.h>
#include <asm/uaccess.h>
#include <asm/nwflash.h>

Go to the source code of this file.

Macros

#define NWFLASH_VERSION   "6.4"
 
#define KFLASH_SIZE   1024*1024
 
#define KFLASH_SIZE4   4*1024*1024
 
#define KFLASH_ID   0x89A6
 
#define KFLASH_ID4   0xB0D4
 

Functions

 MODULE_LICENSE ("GPL")
 
 module_param (flashdebug, bool, 0644)
 
 module_init (nwflash_init)
 
 module_exit (nwflash_exit)
 

Macro Definition Documentation

#define KFLASH_ID   0x89A6

Definition at line 49 of file nwflash.c.

#define KFLASH_ID4   0xB0D4

Definition at line 50 of file nwflash.c.

#define KFLASH_SIZE   1024*1024

Definition at line 47 of file nwflash.c.

#define KFLASH_SIZE4   4*1024*1024

Definition at line 48 of file nwflash.c.

#define NWFLASH_VERSION   "6.4"

Definition at line 39 of file nwflash.c.

Function Documentation

module_exit ( nwflash_exit  )
module_init ( nwflash_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( flashdebug  ,
bool  ,
0644   
)