Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <linux/fs.h>
#include <linux/reboot.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/interrupt.h>
#include <asm/sibyte/sb1250.h>
#include <asm/sibyte/sb1250_regs.h>
#include <asm/sibyte/sb1250_int.h>
#include <asm/sibyte/sb1250_scd.h>
Go to the source code of this file.
Macros | |
#define | pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
Functions | |
void | sbwdog_set (char __iomem *wdog, unsigned long t) |
void | sbwdog_pet (char __iomem *wdog) |
irqreturn_t | sbwdog_interrupt (int irq, void *addr) |
module_init (sbwdog_init) | |
module_exit (sbwdog_exit) | |
MODULE_AUTHOR ("Andrew Sharp <[email protected]>") | |
MODULE_DESCRIPTION ("SiByte Watchdog") | |
module_param (timeout, ulong, 0) | |
MODULE_PARM_DESC (timeout,"Watchdog timeout in microseconds (max/default 8388607 or 8.3ish secs)") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS_MISCDEV (WATCHDOG_MINOR) | |
MODULE_ALIAS_MISCDEV | ( | WATCHDOG_MINOR | ) |
MODULE_AUTHOR | ( | "Andrew Sharp <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "SiByte Watchdog" | ) |
module_exit | ( | sbwdog_exit | ) |
module_init | ( | sbwdog_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
MODULE_PARM_DESC | ( | timeout | , |
"Watchdog timeout in microseconds (max/default 8388607 or 8.3ish secs)" | |||
) |
irqreturn_t sbwdog_interrupt | ( | int | irq, |
void * | addr | ||
) |