#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <asm/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <linux/pci.h>
#include <linux/scx200.h>
Go to the source code of this file.
|
| MODULE_AUTHOR ("Christer Weinigel <[email protected]>") |
|
| MODULE_DESCRIPTION ("NatSemi SCx200 DOCCS Flash Driver") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param (probe, int, 0) |
|
| MODULE_PARM_DESC (probe,"Probe for a BIOS mapping") |
|
| module_param (size, int, 0) |
|
| MODULE_PARM_DESC (size,"Size of the flash mapping") |
|
| module_param (width, int, 0) |
|
| MODULE_PARM_DESC (width,"Data width of the flash mapping (8/16)") |
|
| module_param (flashtype, charp, 0) |
|
| MODULE_PARM_DESC (flashtype,"Type of MTD probe to do") |
|
| module_init (init_scx200_docflash) |
|
| module_exit (cleanup_scx200_docflash) |
|
#define NAME "scx200_docflash" |
MODULE_DESCRIPTION |
( |
"NatSemi SCx200 DOCCS Flash Driver" |
| ) |
|
module_exit |
( |
cleanup_scx200_docflash |
| ) |
|
module_init |
( |
init_scx200_docflash |
| ) |
|
module_param |
( |
probe |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
flashtype |
, |
|
|
charp |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
flashtype |
, |
|
|
"Type of MTD probe to do" |
|
|
) |
| |