Linux Kernel
3.7.1
|
#include <linux/moduleparam.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/pm.h>
#include <asm/io.h>
Go to the source code of this file.
Macros | |
#define | IRIS_GIO_BASE 0x340 |
#define | IRIS_GIO_INPUT IRIS_GIO_BASE |
#define | IRIS_GIO_OUTPUT (IRIS_GIO_BASE + 1) |
#define | IRIS_GIO_PULSE 0x80 /* First byte to send */ |
#define | IRIS_GIO_REST 0x00 /* Second byte to send */ |
#define | IRIS_GIO_NODEV 0xff /* Likely not an Iris */ |
Functions | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Sébastien Hinderer <[email protected]>") | |
MODULE_DESCRIPTION ("A power_off handler for Iris devices from EuroBraille") | |
MODULE_SUPPORTED_DEVICE ("Eurobraille/Iris") | |
module_param (force, bool, 0) | |
MODULE_PARM_DESC (force,"Set to one to force poweroff handler installation.") | |
module_init (iris_init) | |
module_exit (iris_exit) | |
#define IRIS_GIO_INPUT IRIS_GIO_BASE |
#define IRIS_GIO_OUTPUT (IRIS_GIO_BASE + 1) |
MODULE_AUTHOR | ( | "Sébastien Hinderer <[email protected]>" | ) |
module_exit | ( | iris_exit | ) |
module_init | ( | iris_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_SUPPORTED_DEVICE | ( | "Eurobraille/Iris" | ) |