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

Go to the source code of this file.

Data Structures

struct  ck804xrom_window
 
struct  ck804xrom_map_info
 

Macros

#define MOD_NAME   KBUILD_BASENAME
 
#define ADDRESS_NAME_LEN   18
 
#define ROM_PROBE_STEP_SIZE   (64*1024)
 
#define DEV_CK804   1
 
#define DEV_MCP55   2
 

Functions

 module_param (win_size_bits, uint, 0)
 
 MODULE_PARM_DESC (win_size_bits,"ROM window size bits override, normally set by BIOS.")
 
 module_init (init_ck804xrom)
 
 module_exit (cleanup_ck804xrom)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Eric Biederman <[email protected]>, Dave Olsen <[email protected]>")
 
 MODULE_DESCRIPTION ("MTD map driver for BIOS chips on the Nvidia ck804 southbridge")
 

Macro Definition Documentation

#define ADDRESS_NAME_LEN   18

Definition at line 27 of file ck804xrom.c.

#define DEV_CK804   1

Definition at line 31 of file ck804xrom.c.

#define DEV_MCP55   2

Definition at line 32 of file ck804xrom.c.

#define MOD_NAME   KBUILD_BASENAME

Definition at line 25 of file ck804xrom.c.

#define ROM_PROBE_STEP_SIZE   (64*1024)

Definition at line 29 of file ck804xrom.c.

Function Documentation

MODULE_AUTHOR ( "Eric Biederman <[email protected] ,
Dave Olsen< dolsen @lnxi.com >"   
)
MODULE_DESCRIPTION ( "MTD map driver for BIOS chips on the Nvidia ck804 southbridge"  )
module_exit ( cleanup_ck804xrom  )
module_init ( init_ck804xrom  )
MODULE_LICENSE ( "GPL"  )
module_param ( win_size_bits  ,
uint  ,
 
)
MODULE_PARM_DESC ( win_size_bits  ,
"ROM window size bits  override,
normally set by BIOS."   
)