Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
bcm47xxpart.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <asm/mach-bcm47xx/nvram.h>

Go to the source code of this file.

Data Structures

struct  trx_header
 

Macros

#define BCM47XXPART_MAX_PARTS   12
 
#define BCM47XXPART_BYTES_TO_READ   0x404
 
#define BOARD_DATA_MAGIC   0x5246504D /* MPFR */
 
#define POT_MAGIC1   0x54544f50 /* POTT */
 
#define POT_MAGIC2   0x504f /* OP */
 
#define ML_MAGIC1   0x39685a42
 
#define ML_MAGIC2   0x26594131
 
#define TRX_MAGIC   0x30524448
 

Functions

 module_init (bcm47xxpart_init)
 
 module_exit (bcm47xxpart_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("MTD partitioning for BCM47XX flash memories")
 

Variables

struct trx_header __packed
 

Macro Definition Documentation

#define BCM47XXPART_BYTES_TO_READ   0x404

Definition at line 26 of file bcm47xxpart.c.

#define BCM47XXPART_MAX_PARTS   12

Definition at line 20 of file bcm47xxpart.c.

#define BOARD_DATA_MAGIC   0x5246504D /* MPFR */

Definition at line 29 of file bcm47xxpart.c.

#define ML_MAGIC1   0x39685a42

Definition at line 32 of file bcm47xxpart.c.

#define ML_MAGIC2   0x26594131

Definition at line 33 of file bcm47xxpart.c.

#define POT_MAGIC1   0x54544f50 /* POTT */

Definition at line 30 of file bcm47xxpart.c.

#define POT_MAGIC2   0x504f /* OP */

Definition at line 31 of file bcm47xxpart.c.

#define TRX_MAGIC   0x30524448

Definition at line 34 of file bcm47xxpart.c.

Function Documentation

MODULE_DESCRIPTION ( "MTD partitioning for BCM47XX flash memories"  )
module_exit ( bcm47xxpart_exit  )
module_init ( bcm47xxpart_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation