Go to the documentation of this file.
25 #include <linux/module.h>
26 #include <linux/kernel.h>
27 #include <linux/errno.h>
33 #define IRIS_GIO_BASE 0x340
34 #define IRIS_GIO_INPUT IRIS_GIO_BASE
35 #define IRIS_GIO_OUTPUT (IRIS_GIO_BASE + 1)
36 #define IRIS_GIO_PULSE 0x80
37 #define IRIS_GIO_REST 0x00
38 #define IRIS_GIO_NODEV 0xff
50 static void (*old_pm_power_off)(
void);
52 static void iris_power_off(
void)
65 static int iris_init(
void)
69 printk(
KERN_ERR "The force parameter has not been set to 1 so the Iris poweroff handler will not be installed.\n");
74 printk(
KERN_ERR "This machine does not seem to be an Iris. Power_off handler not installed.\n");
84 static void iris_exit(
void)