#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/ctype.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/blkdev.h>
#include <linux/completion.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <asm/extmem.h>
#include <asm/io.h>
Go to the source code of this file.
#define DCSS_BUS_ID_SIZE 20 |
#define DCSSBLK_MINORS_PER_DISK 1 |
#define DCSSBLK_NAME "dcssblk" |
#define DCSSBLK_PARM_LEN 400 |
#define KMSG_COMPONENT "dcssblk" |
module_exit |
( |
dcssblk_exit |
| ) |
|
module_init |
( |
dcssblk_init |
| ) |
|
MODULE_PARM_DESC |
( |
segments |
, |
|
|
"Name of DCSS segment(s) to be |
loaded, |
|
|
""comma-separated |
list, |
|
|
names in each set separated""by commas are separated by |
colons, |
|
|
each set contains""names of contiguous segments and each name max.8 chars.\n""Adding\"(local)\" to the end of each set equals echoing 0 ""to /sys/devices/dcssblk/<device name>/shared after loading ""the contiguous segments - \n""e.g. |
segments = \"mydcss1,mydcss2:mydcss3,mydcss4(local)\"" |
|
) |
| |