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
3db762f7
Commit
3db762f7
authored
Sep 04, 2003
by
Wim Van Sebroeck
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://linux-watchdog.bkbits.net/linux-2.5-watchdog
into iguana.be:/home/wim/BitKeeper/projects/linux-2.5-watchdog
parents
5b8b844d
dfe981f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
drivers/char/watchdog/wafer5823wdt.c
drivers/char/watchdog/wafer5823wdt.c
+1
-6
No files found.
drivers/char/watchdog/wafer5823wdt.c
View file @
3db762f7
...
@@ -57,12 +57,7 @@ static spinlock_t wafwdt_lock;
...
@@ -57,12 +57,7 @@ static spinlock_t wafwdt_lock;
*/
*/
static
int
wdt_stop
=
0x843
;
static
int
wdt_stop
=
0x843
;
module_param
(
wdt_stop
,
int
,
0
);
MODULE_PARM_DESC
(
wdt_stop
,
"Wafer 5823 WDT 'stop' io port (default 0x843)"
);
static
int
wdt_start
=
0x443
;
static
int
wdt_start
=
0x443
;
module_param
(
wdt_start
,
int
,
0
);
MODULE_PARM_DESC
(
wdt_start
,
"Wafer 5823 WDT 'start' io port (default 0x443)"
);
static
int
timeout
=
WD_TIMO
;
/* in seconds */
static
int
timeout
=
WD_TIMO
;
/* in seconds */
module_param
(
timeout
,
int
,
0
);
module_param
(
timeout
,
int
,
0
);
...
@@ -269,7 +264,7 @@ static int __init wafwdt_init(void)
...
@@ -269,7 +264,7 @@ static int __init wafwdt_init(void)
spin_lock_init
(
&
wafwdt_lock
);
spin_lock_init
(
&
wafwdt_lock
);
if
(
timeout
<
1
||
timeout
>
63
)
{
if
(
timeout
<
1
||
timeout
>
255
)
{
timeout
=
WD_TIMO
;
timeout
=
WD_TIMO
;
printk
(
KERN_INFO
PFX
"timeout value must be 1<=x<=255, using %d
\n
"
,
printk
(
KERN_INFO
PFX
"timeout value must be 1<=x<=255, using %d
\n
"
,
timeout
);
timeout
);
...
...
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