Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ichxrom.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  ichxrom_window
 
struct  ichxrom_map_info
 

Macros

#define xstr(s)   str(s)
 
#define str(s)   #s
 
#define MOD_NAME   xstr(KBUILD_BASENAME)
 
#define ADDRESS_NAME_LEN   18
 
#define ROM_PROBE_STEP_SIZE   (64*1024) /* 64KiB */
 
#define BIOS_CNTL   0x4e
 
#define FWH_DEC_EN1   0xE3
 
#define FWH_DEC_EN2   0xF0
 
#define FWH_SEL1   0xE8
 
#define FWH_SEL2   0xEE
 

Functions

 module_init (init_ichxrom)
 
 module_exit (cleanup_ichxrom)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Eric Biederman <[email protected]>")
 
 MODULE_DESCRIPTION ("MTD map driver for BIOS chips on the ICHX southbridge")
 

Macro Definition Documentation

#define ADDRESS_NAME_LEN   18

Definition at line 25 of file ichxrom.c.

#define BIOS_CNTL   0x4e

Definition at line 29 of file ichxrom.c.

#define FWH_DEC_EN1   0xE3

Definition at line 30 of file ichxrom.c.

#define FWH_DEC_EN2   0xF0

Definition at line 31 of file ichxrom.c.

#define FWH_SEL1   0xE8

Definition at line 32 of file ichxrom.c.

#define FWH_SEL2   0xEE

Definition at line 33 of file ichxrom.c.

#define MOD_NAME   xstr(KBUILD_BASENAME)

Definition at line 23 of file ichxrom.c.

#define ROM_PROBE_STEP_SIZE   (64*1024) /* 64KiB */

Definition at line 27 of file ichxrom.c.

#define str (   s)    #s

Definition at line 22 of file ichxrom.c.

#define xstr (   s)    str(s)

Definition at line 21 of file ichxrom.c.

Function Documentation

MODULE_AUTHOR ( "Eric Biederman <[email protected]>"  )
MODULE_DESCRIPTION ( "MTD map driver for BIOS chips on the ICHX southbridge"  )
module_exit ( cleanup_ichxrom  )
module_init ( init_ichxrom  )
MODULE_LICENSE ( "GPL"  )