Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
octagon-5066.c File Reference
#include <linux/module.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <asm/io.h>
#include <linux/mtd/map.h>
#include <linux/mtd/mtd.h>

Go to the source code of this file.

Macros

#define WINDOW_START   0xe8000
 
#define WINDOW_LENGTH   0x8000
 
#define WINDOW_SHIFT   27
 
#define WINDOW_MASK   0x7FFF
 
#define PAGE_IO   0x208
 

Functions

void cleanup_oct5066 (void)
 
 module_init (init_oct5066)
 
 module_exit (cleanup_oct5066)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Jason Gunthorpe <[email protected]>, David Woodhouse <[email protected]>")
 
 MODULE_DESCRIPTION ("MTD map driver for Octagon 5066 Single Board Computer")
 

Macro Definition Documentation

#define PAGE_IO   0x208

Definition at line 38 of file octagon-5066.c.

#define WINDOW_LENGTH   0x8000

Definition at line 35 of file octagon-5066.c.

#define WINDOW_MASK   0x7FFF

Definition at line 37 of file octagon-5066.c.

#define WINDOW_SHIFT   27

Definition at line 36 of file octagon-5066.c.

#define WINDOW_START   0xe8000

Definition at line 34 of file octagon-5066.c.

Function Documentation

void cleanup_oct5066 ( void  )

Definition at line 173 of file octagon-5066.c.

MODULE_AUTHOR ( "Jason Gunthorpe <[email protected] ,
David Woodhouse< dwmw2 @infradead.org >"   
)
MODULE_DESCRIPTION ( "MTD map driver for Octagon 5066 Single Board Computer"  )
module_exit ( cleanup_oct5066  )
module_init ( init_oct5066  )
MODULE_LICENSE ( "GPL"  )