#include <linux/module.h>
#include <linux/slab.h>
#include <linux/timer.h>
#include <linux/init.h>
#include <asm/io.h>
#include <pcmcia/cistpl.h>
#include <pcmcia/ds.h>
#include <linux/mtd/map.h>
#include <linux/mtd/mtd.h>
Go to the source code of this file.
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_AUTHOR ("Simon Evans <[email protected]>") |
|
| MODULE_DESCRIPTION (DRIVER_DESC) |
|
| module_param (bankwidth, int, 0) |
|
| MODULE_PARM_DESC (bankwidth,"Set bankwidth (1=8 bit, 2=16 bit, default=2)") |
|
| module_param (mem_speed, int, 0) |
|
| MODULE_PARM_DESC (mem_speed,"Set memory access speed in ns") |
|
| module_param (force_size, int, 0) |
|
| MODULE_PARM_DESC (force_size,"Force size of card in MiB (1-64)") |
|
| module_param (setvpp, int, 0) |
|
| MODULE_PARM_DESC (setvpp,"Set Vpp (0=Never, 1=On writes, 2=Always on, default=0)") |
|
| module_param (vpp, int, 0) |
|
| MODULE_PARM_DESC (vpp,"Vpp value in 1/10ths eg 33=3.3V 120=12V (Dangerous)") |
|
| module_param (mem_type, int, 0) |
|
| MODULE_PARM_DESC (mem_type,"Set Memory type (0=Flash, 1=RAM, 2=ROM, default=0)") |
|
| MODULE_DEVICE_TABLE (pcmcia, pcmciamtd_ids) |
|
| module_init (init_pcmciamtd) |
|
| module_exit (exit_pcmciamtd) |
|
#define MAX_PCMCIA_ADDR 0x4000000 |
MODULE_DEVICE_TABLE |
( |
pcmcia |
, |
|
|
pcmciamtd_ids |
|
|
) |
| |
module_exit |
( |
exit_pcmciamtd |
| ) |
|
module_init |
( |
init_pcmciamtd |
| ) |
|
module_param |
( |
bankwidth |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
mem_speed |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
force_size |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
setvpp |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
vpp |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
bankwidth |
, |
|
|
"Set bankwidth (1=8 bit, 2=16 bit, default=2)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
force_size |
, |
|
|
"Force size of card in MiB (1-64)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
setvpp |
, |
|
|
"Set Vpp (0=Never, 1=On writes, 2=Always on, default=0)" |
|
|
) |
| |