Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
672a4830
Commit
672a4830
authored
Aug 22, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://linux-watchdog.bkbits.net/linux-2.6-watchdog
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
786501bb
1f315b72
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
18 additions
and
4 deletions
+18
-4
Documentation/watchdog/pcwd-watchdog.txt
Documentation/watchdog/pcwd-watchdog.txt
+2
-1
drivers/char/watchdog/cpu5wdt.c
drivers/char/watchdog/cpu5wdt.c
+2
-1
drivers/char/watchdog/ib700wdt.c
drivers/char/watchdog/ib700wdt.c
+1
-0
drivers/char/watchdog/indydog.c
drivers/char/watchdog/indydog.c
+1
-0
drivers/char/watchdog/ixp4xx_wdt.c
drivers/char/watchdog/ixp4xx_wdt.c
+1
-0
drivers/char/watchdog/machzwd.c
drivers/char/watchdog/machzwd.c
+1
-0
drivers/char/watchdog/mixcomwd.c
drivers/char/watchdog/mixcomwd.c
+1
-0
drivers/char/watchdog/sa1100_wdt.c
drivers/char/watchdog/sa1100_wdt.c
+1
-0
drivers/char/watchdog/sc1200wdt.c
drivers/char/watchdog/sc1200wdt.c
+1
-0
drivers/char/watchdog/scx200_wdt.c
drivers/char/watchdog/scx200_wdt.c
+1
-0
drivers/char/watchdog/wdt285.c
drivers/char/watchdog/wdt285.c
+1
-0
drivers/char/watchdog/wdt977.c
drivers/char/watchdog/wdt977.c
+1
-0
include/linux/compat_ioctl.h
include/linux/compat_ioctl.h
+4
-2
No files found.
Documentation/watchdog/pcwd-watchdog.txt
View file @
672a4830
...
...
@@ -35,7 +35,8 @@
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/pcwd.h>
#include <linux/types.h>
#include <linux/watchdog.h>
int fd;
...
...
drivers/char/watchdog/cpu5wdt.c
View file @
672a4830
...
...
@@ -134,7 +134,7 @@ static int cpu5wdt_open(struct inode *inode, struct file *file)
if
(
test_and_set_bit
(
0
,
&
cpu5wdt_device
.
inuse
)
)
return
-
EBUSY
;
return
0
;
return
nonseekable_open
(
inode
,
file
)
;
}
static
int
cpu5wdt_release
(
struct
inode
*
inode
,
struct
file
*
file
)
...
...
@@ -198,6 +198,7 @@ static ssize_t cpu5wdt_write(struct file *file, const char __user *buf, size_t c
static
struct
file_operations
cpu5wdt_fops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
ioctl
=
cpu5wdt_ioctl
,
.
open
=
cpu5wdt_open
,
.
write
=
cpu5wdt_write
,
...
...
drivers/char/watchdog/ib700wdt.c
View file @
672a4830
...
...
@@ -263,6 +263,7 @@ ibwdt_notify_sys(struct notifier_block *this, unsigned long code,
static
struct
file_operations
ibwdt_fops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
write
=
ibwdt_write
,
.
ioctl
=
ibwdt_ioctl
,
.
open
=
ibwdt_open
,
...
...
drivers/char/watchdog/indydog.c
View file @
672a4830
...
...
@@ -162,6 +162,7 @@ static int indydog_notify_sys(struct notifier_block *this, unsigned long code, v
static
struct
file_operations
indydog_fops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
write
=
indydog_write
,
.
ioctl
=
indydog_ioctl
,
.
open
=
indydog_open
,
...
...
drivers/char/watchdog/ixp4xx_wdt.c
View file @
672a4830
...
...
@@ -170,6 +170,7 @@ ixp4xx_wdt_release(struct inode *inode, struct file *file)
static
struct
file_operations
ixp4xx_wdt_fops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
write
=
ixp4xx_wdt_write
,
.
ioctl
=
ixp4xx_wdt_ioctl
,
.
open
=
ixp4xx_wdt_open
,
...
...
drivers/char/watchdog/machzwd.c
View file @
672a4830
...
...
@@ -425,6 +425,7 @@ static int zf_notify_sys(struct notifier_block *this, unsigned long code,
static
struct
file_operations
zf_fops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
write
=
zf_write
,
.
ioctl
=
zf_ioctl
,
.
open
=
zf_open
,
...
...
drivers/char/watchdog/mixcomwd.c
View file @
672a4830
...
...
@@ -197,6 +197,7 @@ static int mixcomwd_ioctl(struct inode *inode, struct file *file,
static
struct
file_operations
mixcomwd_fops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
write
=
mixcomwd_write
,
.
ioctl
=
mixcomwd_ioctl
,
.
open
=
mixcomwd_open
,
...
...
drivers/char/watchdog/sa1100_wdt.c
View file @
672a4830
...
...
@@ -162,6 +162,7 @@ static int sa1100dog_ioctl(struct inode *inode, struct file *file,
static
struct
file_operations
sa1100dog_fops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
write
=
sa1100dog_write
,
.
ioctl
=
sa1100dog_ioctl
,
.
open
=
sa1100dog_open
,
...
...
drivers/char/watchdog/sc1200wdt.c
View file @
672a4830
...
...
@@ -301,6 +301,7 @@ static struct notifier_block sc1200wdt_notifier =
static
struct
file_operations
sc1200wdt_fops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
write
=
sc1200wdt_write
,
.
ioctl
=
sc1200wdt_ioctl
,
.
open
=
sc1200wdt_open
,
...
...
drivers/char/watchdog/scx200_wdt.c
View file @
672a4830
...
...
@@ -201,6 +201,7 @@ static int scx200_wdt_ioctl(struct inode *inode, struct file *file,
static
struct
file_operations
scx200_wdt_fops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
write
=
scx200_wdt_write
,
.
ioctl
=
scx200_wdt_ioctl
,
.
open
=
scx200_wdt_open
,
...
...
drivers/char/watchdog/wdt285.c
View file @
672a4830
...
...
@@ -180,6 +180,7 @@ watchdog_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
static
struct
file_operations
watchdog_fops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
write
=
watchdog_write
,
.
ioctl
=
watchdog_ioctl
,
.
open
=
watchdog_open
,
...
...
drivers/char/watchdog/wdt977.c
View file @
672a4830
...
...
@@ -392,6 +392,7 @@ static int wdt977_notify_sys(struct notifier_block *this, unsigned long code,
static
struct
file_operations
wdt977_fops
=
{
.
owner
=
THIS_MODULE
,
.
llseek
=
no_llseek
,
.
write
=
wdt977_write
,
.
ioctl
=
wdt977_ioctl
,
.
open
=
wdt977_open
,
...
...
include/linux/compat_ioctl.h
View file @
672a4830
...
...
@@ -592,13 +592,15 @@ COMPATIBLE_IOCTL(ATMTCP_CREATE)
COMPATIBLE_IOCTL
(
ATMTCP_REMOVE
)
COMPATIBLE_IOCTL
(
ATMMPC_CTRL
)
COMPATIBLE_IOCTL
(
ATMMPC_DATA
)
/*
Big W
*/
/* WIOC_GETSUPPORT not yet implemented -E */
/*
Watchdog
*/
COMPATIBLE_IOCTL
(
WDIOC_GETSUPPORT
)
COMPATIBLE_IOCTL
(
WDIOC_GETSTATUS
)
COMPATIBLE_IOCTL
(
WDIOC_GETBOOTSTATUS
)
COMPATIBLE_IOCTL
(
WDIOC_GETTEMP
)
COMPATIBLE_IOCTL
(
WDIOC_SETOPTIONS
)
COMPATIBLE_IOCTL
(
WDIOC_KEEPALIVE
)
COMPATIBLE_IOCTL
(
WDIOC_SETTIMEOUT
)
COMPATIBLE_IOCTL
(
WDIOC_GETTIMEOUT
)
/* Big R */
COMPATIBLE_IOCTL
(
RNDGETENTCNT
)
COMPATIBLE_IOCTL
(
RNDADDTOENTCNT
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment