#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/device.h>
#include <linux/ctype.h>
#include <linux/gpio.h>
#include <linux/slab.h>
#include <linux/vme.h>
#include "vme_pio2.h"
Go to the source code of this file.
|
| MODULE_PARM_DESC (bus,"Enumeration of VMEbus to which the board is connected") |
|
| module_param_array (bus, int,&bus_num, S_IRUGO) |
|
| MODULE_PARM_DESC (base,"Base VME address for PIO2 Registers") |
|
| module_param_array (base, long,&base_num, S_IRUGO) |
|
| MODULE_PARM_DESC (vector,"VME IRQ Vector (Lower 4 bits masked)") |
|
| module_param_array (vector, int,&vector_num, S_IRUGO) |
|
| MODULE_PARM_DESC (level,"VME IRQ Level") |
|
| module_param_array (level, int,&level_num, S_IRUGO) |
|
| MODULE_PARM_DESC (variant,"Last 4 characters of PIO2 board variant") |
|
| module_param_array (variant, charp,&variant_num, S_IRUGO) |
|
| MODULE_PARM_DESC (loopback,"Enable loopback mode on all cards") |
|
| module_param (loopback, bool, S_IRUGO) |
|
| MODULE_DESCRIPTION ("GE PIO2 6U VME I/O Driver") |
|
| MODULE_AUTHOR ("Martyn Welch <[email protected]") |
|
| MODULE_LICENSE ("GPL") |
|
| module_init (pio2_init) |
|
| module_exit (pio2_exit) |
|
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
MODULE_DESCRIPTION |
( |
"GE PIO2 6U VME I/O Driver" |
| ) |
|
module_exit |
( |
pio2_exit |
| ) |
|
module_init |
( |
pio2_init |
| ) |
|
MODULE_PARM_DESC |
( |
bus |
, |
|
|
"Enumeration of VMEbus to which the board is connected" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
vector |
, |
|
|
"VME IRQ Vector (Lower 4 bits masked)" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
level |
, |
|
|
"VME IRQ Level" |
|
|
) |
| |