|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/moduleparam.h>#include <linux/types.h>#include <linux/errno.h>#include <linux/kernel.h>#include <linux/miscdevice.h>#include <linux/watchdog.h>#include <linux/fs.h>#include <linux/ioport.h>#include <linux/platform_device.h>#include <linux/init.h>#include <linux/uaccess.h>#include <linux/io.h>Go to the source code of this file.
Macros | |
| #define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| #define | DRV_NAME "acquirewdt" |
| #define | WATCHDOG_NAME "Acquire WDT" |
| #define | WATCHDOG_HEARTBEAT 0 |
Functions | |
| module_param (wdt_stop, int, 0) | |
| MODULE_PARM_DESC (wdt_stop,"Acquire WDT 'stop' io port (default 0x43)") | |
| module_param (wdt_start, int, 0) | |
| MODULE_PARM_DESC (wdt_start,"Acquire WDT 'start' io port (default 0x443)") | |
| module_param (nowayout, bool, 0) | |
| MODULE_PARM_DESC (nowayout,"Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")") | |
| module_init (acq_init) | |
| module_exit (acq_exit) | |
| MODULE_AUTHOR ("David Woodhouse") | |
| MODULE_DESCRIPTION ("Acquire Inc. Single Board Computer Watchdog Timer driver") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
| #define DRV_NAME "acquirewdt" |
Definition at line 74 of file acquirewdt.c.
Definition at line 55 of file acquirewdt.c.
| #define WATCHDOG_HEARTBEAT 0 |
Definition at line 77 of file acquirewdt.c.
| #define WATCHDOG_NAME "Acquire WDT" |
Definition at line 75 of file acquirewdt.c.
| MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
| MODULE_AUTHOR | ( | "David Woodhouse" | ) |
| module_exit | ( | acq_exit | ) |
| module_init | ( | acq_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_param | ( | wdt_stop | , |
| int | , | ||
| 0 | |||
| ) |
| module_param | ( | wdt_start | , |
| int | , | ||
| 0 | |||
| ) |
| module_param | ( | nowayout | , |
| bool | , | ||
| 0 | |||
| ) |
| MODULE_PARM_DESC | ( | nowayout | , |
| "Watchdog cannot be stopped once started (default="__MODULE_STRING(WATCHDOG_NOWAYOUT)")" | |||
| ) |
1.8.2