Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
scx200_docflash.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>
#include <linux/pci.h>
#include <linux/scx200.h>

Go to the source code of this file.

Macros

#define NAME   "scx200_docflash"
 
#define NUM_PARTITIONS   ARRAY_SIZE(partition_info)
 

Functions

 MODULE_AUTHOR ("Christer Weinigel <[email protected]>")
 
 MODULE_DESCRIPTION ("NatSemi SCx200 DOCCS Flash Driver")
 
 MODULE_LICENSE ("GPL")
 
 module_param (probe, int, 0)
 
 MODULE_PARM_DESC (probe,"Probe for a BIOS mapping")
 
 module_param (size, int, 0)
 
 MODULE_PARM_DESC (size,"Size of the flash mapping")
 
 module_param (width, int, 0)
 
 MODULE_PARM_DESC (width,"Data width of the flash mapping (8/16)")
 
 module_param (flashtype, charp, 0)
 
 MODULE_PARM_DESC (flashtype,"Type of MTD probe to do")
 
 module_init (init_scx200_docflash)
 
 module_exit (cleanup_scx200_docflash)
 

Macro Definition Documentation

#define NAME   "scx200_docflash"

Definition at line 20 of file scx200_docflash.c.

#define NUM_PARTITIONS   ARRAY_SIZE(partition_info)

Definition at line 69 of file scx200_docflash.c.

Function Documentation

MODULE_AUTHOR ( "Christer Weinigel <[email protected]>"  )
MODULE_DESCRIPTION ( "NatSemi SCx200 DOCCS Flash Driver"  )
module_exit ( cleanup_scx200_docflash  )
module_init ( init_scx200_docflash  )
MODULE_LICENSE ( "GPL"  )
module_param ( probe  ,
int  ,
 
)
module_param ( size  ,
int  ,
 
)
module_param ( width  ,
int  ,
 
)
module_param ( flashtype  ,
charp  ,
 
)
MODULE_PARM_DESC ( probe  ,
"Probe for a BIOS mapping  
)
MODULE_PARM_DESC ( size  ,
"Size of the flash mapping  
)
MODULE_PARM_DESC ( width  ,
"Data width of the flash mapping (8/16)"   
)
MODULE_PARM_DESC ( flashtype  ,
"Type of MTD probe to do"   
)