#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/timer.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/dmi.h>
#include <linux/io.h>
#include <linux/uaccess.h>
Go to the source code of this file.
|
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| |
| #define | TOPAZ_ASR_REG_OFFSET 4 |
| |
| #define | TOPAZ_ASR_TOGGLE 0x40 |
| |
| #define | TOPAZ_ASR_DISABLE 0x80 |
| |
| #define | PEARL_BASE 0xe04 |
| |
| #define | PEARL_WRITE 0xe06 |
| |
| #define | PEARL_READ 0xe07 |
| |
| #define | PEARL_ASR_DISABLE_MASK 0x80 /* bit 7: disable = 1, enable = 0 */ |
| |
| #define | PEARL_ASR_TOGGLE_MASK 0x40 /* bit 6: 0, then 1, then 0 */ |
| |
| #define | JASPER_ASR_REG_OFFSET 0x38 |
| |
| #define | JASPER_ASR_DISABLE_MASK 0x01 /* bit 0: disable = 1, enable = 0 */ |
| |
| #define | JASPER_ASR_TOGGLE_MASK 0x02 /* bit 1: 0, then 1, then 0 */ |
| |
| #define | JUNIPER_BASE_ADDRESS 0x54b /* Base address of Juniper ASR */ |
| |
| #define | JUNIPER_ASR_DISABLE_MASK 0x01 /* bit 0: disable = 1 enable = 0 */ |
| |
| #define | JUNIPER_ASR_TOGGLE_MASK 0x02 /* bit 1: 0, then 1, then 0 */ |
| |
| #define | SPRUCE_BASE_ADDRESS 0x118e /* Base address of Spruce ASR */ |
| |
| #define | SPRUCE_ASR_DISABLE_MASK 0x01 /* bit 1: disable = 1 enable = 0 */ |
| |
| #define | SPRUCE_ASR_TOGGLE_MASK 0x02 /* bit 0: 0, then 1, then 0 */ |
| |
| #define JASPER_ASR_DISABLE_MASK 0x01 /* bit 0: disable = 1, enable = 0 */ |
| #define JASPER_ASR_REG_OFFSET 0x38 |
| #define JASPER_ASR_TOGGLE_MASK 0x02 /* bit 1: 0, then 1, then 0 */ |
| #define JUNIPER_ASR_DISABLE_MASK 0x01 /* bit 0: disable = 1 enable = 0 */ |
| #define JUNIPER_ASR_TOGGLE_MASK 0x02 /* bit 1: 0, then 1, then 0 */ |
| #define JUNIPER_BASE_ADDRESS 0x54b /* Base address of Juniper ASR */ |
| #define PEARL_ASR_DISABLE_MASK 0x80 /* bit 7: disable = 1, enable = 0 */ |
| #define PEARL_ASR_TOGGLE_MASK 0x40 /* bit 6: 0, then 1, then 0 */ |
| #define PEARL_WRITE 0xe06 |
| #define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
| #define SPRUCE_ASR_DISABLE_MASK 0x01 /* bit 1: disable = 1 enable = 0 */ |
| #define SPRUCE_ASR_TOGGLE_MASK 0x02 /* bit 0: 0, then 1, then 0 */ |
| #define SPRUCE_BASE_ADDRESS 0x118e /* Base address of Spruce ASR */ |
| #define TOPAZ_ASR_DISABLE 0x80 |
| #define TOPAZ_ASR_REG_OFFSET 4 |
| #define TOPAZ_ASR_TOGGLE 0x40 |
- Enumerator:
| ASMTYPE_UNKNOWN |
|
| ASMTYPE_TOPAZ |
|
| ASMTYPE_JASPER |
|
| ASMTYPE_PEARL |
|
| ASMTYPE_JUNIPER |
|
| ASMTYPE_SPRUCE |
|
Definition at line 27 of file ibmasr.c.
| MODULE_AUTHOR |
( |
"Andrey Panin" |
| ) |
|
| MODULE_DESCRIPTION |
( |
"IBM Automatic Server Restart driver" |
| ) |
|
| module_exit |
( |
ibmasr_exit |
| ) |
|
| module_init |
( |
ibmasr_init |
| ) |
|
| module_param |
( |
nowayout |
, |
|
|
bool |
, |
|
|
0 |
|
|
) |
| |