Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ar7part.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <linux/bootmem.h>
#include <linux/magic.h>
#include <linux/module.h>

Go to the source code of this file.

Data Structures

struct  ar7_bin_rec
 

Macros

#define AR7_PARTS   4
 
#define ROOT_OFFSET   0xe0000
 
#define LOADER_MAGIC1   le32_to_cpu(0xfeedfa42)
 
#define LOADER_MAGIC2   le32_to_cpu(0xfeed1281)
 
#define SQUASHFS_MAGIC   0x73717368
 

Functions

 module_init (ar7_parser_init)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Felix Fietkau <[email protected]>, ""Eugene Konev <[email protected]>")
 
 MODULE_DESCRIPTION ("MTD partitioning for TI AR7")
 

Macro Definition Documentation

#define AR7_PARTS   4

Definition at line 32 of file ar7part.c.

#define LOADER_MAGIC1   le32_to_cpu(0xfeedfa42)

Definition at line 35 of file ar7part.c.

#define LOADER_MAGIC2   le32_to_cpu(0xfeed1281)

Definition at line 36 of file ar7part.c.

#define ROOT_OFFSET   0xe0000

Definition at line 33 of file ar7part.c.

#define SQUASHFS_MAGIC   0x73717368

Definition at line 39 of file ar7part.c.

Function Documentation

MODULE_AUTHOR ( "Felix Fietkau <[email protected] ,
""Eugene Konev< ejka @openwrt.org >"   
)
MODULE_DESCRIPTION ( "MTD partitioning for TI AR7"  )
module_init ( ar7_parser_init  )
MODULE_LICENSE ( "GPL"  )