#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/miscdevice.h>
#include <linux/fcntl.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/string.h>
#include <linux/genhd.h>
#include <linux/blkdev.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/io.h>
#include <asm/pcic.h>
#include <asm/oplib.h>
#include <asm/jsflash.h>
Go to the source code of this file.
#define JSF_BASE_ALL 0x20000000 |
#define JSF_BASE_JK 0x20400000 |
#define JSF_BASE_TOP 0x30000000 |
#define JSF_MAX 3 /* 3 minors wasted total so far. */ |
#define JSF_MINOR 178 /* 178 is registered with hpa */ |
#define JSF_PART_MASK 0x3 /* 2 bits mask */ |
module_exit |
( |
jsflash_cleanup_module |
| ) |
|
module_init |
( |
jsflash_init_module |
| ) |
|