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
71670f86
Commit
71670f86
authored
Jul 31, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://linux-watchdog.bkbits.net/linux-2.5-watchdog
into home.osdl.org:/home/torvalds/v2.5/linux
parents
5e879a90
34cdf699
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
29 deletions
+36
-29
drivers/char/watchdog/Kconfig
drivers/char/watchdog/Kconfig
+33
-26
drivers/char/watchdog/wdt_pci.c
drivers/char/watchdog/wdt_pci.c
+3
-3
No files found.
drivers/char/watchdog/Kconfig
View file @
71670f86
#
#
Character
device configuration
#
Watchdog
device configuration
#
menu "Watchdog Cards"
...
...
@@ -68,6 +68,24 @@ config WDT
say M here and read <file:Documentation/modules.txt>. The module
will be called wdt.
config WDT_501
bool "WDT501 features"
depends on WDT
help
Saying Y here and creating a character special file /dev/temperature
with major number 10 and minor number 131 ("man mknod") will give
you a thermometer inside your computer: reading from
/dev/temperature yields one byte, the temperature in degrees
Fahrenheit. This works only if you have a WDT501P watchdog board
installed.
config WDT_501_FAN
bool "Fan Tachometer"
depends on WDT_501
help
Enable the Fan Tachometer on the WDT501. Only do this if you have a
fan tachometer actually set up.
config WDTPCI
tristate "WDT PCI Watchdog timer"
depends on WATCHDOG
...
...
@@ -84,9 +102,9 @@ config WDTPCI
say M here and read <file:Documentation/modules.txt>. The module
will be called wdt_pci.
config WDT_501
bool "WDT501 features"
depends on WDT
config WDT_501
_PCI
bool "WDT501
-PCI
features"
depends on WDT
PCI
help
Saying Y here and creating a character special file /dev/temperature
with major number 10 and minor number 131 ("man mknod") will give
...
...
@@ -95,13 +113,6 @@ config WDT_501
Fahrenheit. This works only if you have a WDT501P watchdog board
installed.
config WDT_501_FAN
bool "Fan Tachometer"
depends on WDT_501
help
Enable the Fan Tachometer on the WDT501. Only do this if you have a
fan tachometer actually set up.
config PCWATCHDOG
tristate "Berkshire Products PC Watchdog"
depends on WATCHDOG
...
...
@@ -132,7 +143,7 @@ config ACQUIRE_WDT
This driver is like the WDT501 driver but for different hardware.
This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
The module is called
psc
wdt. If you want to compile it as a
The module is called
acquire
wdt. If you want to compile it as a
module, say M here and read <file:Documentation/modules.txt>. Most
people will say N.
...
...
@@ -179,7 +190,7 @@ config SA1100_WATCHDOG
This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
If you want to compile it as a module, say M here and read
Documentation/modules.txt
. The module will be called sa1100_wdt.
<file:Documentation/modules.txt>
. The module will be called sa1100_wdt.
config EUROTECH_WDT
tristate "Eurotech CPU-1220/1410 Watchdog Timer"
...
...
@@ -203,14 +214,14 @@ config IB700_WDT
This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
The module is called ib700wdt. If you want to compile it as a
module, say M here and read
Documentation/modules.txt
. Most people
module, say M here and read
<file:Documentation/modules.txt>
. Most people
will say N.
config I810_TCO
tristate "Intel i8
10
TCO timer / Watchdog"
tristate "Intel i8
xx
TCO timer / Watchdog"
depends on WATCHDOG
---help---
Hardware driver for the TCO timer built into the Intel i8
10 and i815
Hardware driver for the TCO timer built into the Intel i8
xx
chipset family. The TCO (Total Cost of Ownership) timer is a
watchdog timer that will reboot the machine after its second
expiration. The expiration time can be configured by commandline
...
...
@@ -277,7 +288,7 @@ config W83877F_WDT
This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
The module is called
mixcomwd
. If you want to compile it as a
The module is called
w83877f_wdt
. If you want to compile it as a
module, say M here and read <file:Documentation/modules.txt>. Most
people will say N.
...
...
@@ -296,10 +307,6 @@ config MACHZ_WDT
The module is called machzwd. If you want to compile it as a
module, say M here and read <file:Documentation/modules.txt>.
config W83877F_WDT
tristate "W83877F Computer Watchdog"
depends on WATCHDOG
config SC520_WDT
tristate "AMD Elan SC520 processor Watchdog"
depends on WATCHDOG
...
...
@@ -336,7 +343,7 @@ config ALIM7101_WDT
This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
The module is called alim7101_wdt. If you want to compile it as a
module, say M here and read
Documentation/modules.txt
. Most
module, say M here and read
<file:Documentation/modules.txt>
. Most
people will say N.
config SC1200_WDT
...
...
@@ -351,7 +358,7 @@ config SC1200_WDT
This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
The module is called sc1200wdt. If you want to compile it as a
module, say M here and read
Documentation/modules.txt
. Most
module, say M here and read
<file:Documentation/modules.txt>
. Most
people will say N.
config WAFER_WDT
...
...
@@ -364,8 +371,8 @@ config WAFER_WDT
This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
If you want to compile it as a module, say M here and read
Documentation/modules.txt
. The module will be called
wafer5823wdt.
o
<file:Documentation/modules.txt>
. The module will be called
wafer5823wdt.
config CPU5_WDT
tristate "SMA CPU5 Watchdog"
...
...
@@ -374,7 +381,7 @@ config CPU5_WDT
TBD.
This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
The module is called cpu5wdt.
o.
If you want to compile it as a
The module is called cpu5wdt. If you want to compile it as a
module, say M here and read <file:Documentation/modules.txt>.
endmenu
drivers/char/watchdog/wdt_pci.c
View file @
71670f86
...
...
@@ -486,7 +486,7 @@ static struct miscdevice wdtpci_miscdev = {
.
fops
=
&
wdtpci_fops
,
};
#ifdef CONFIG_WDT_501
#ifdef CONFIG_WDT_501
_PCI
static
struct
miscdevice
temp_miscdev
=
{
.
minor
=
TEMP_MINOR
,
.
name
=
"temperature"
,
...
...
@@ -550,7 +550,7 @@ static int __init wdtpci_init_one (struct pci_dev *dev,
printk
(
KERN_ERR
PFX
"can't misc_register on minor=%d
\n
"
,
WATCHDOG_MINOR
);
goto
out_misc
;
}
#ifdef CONFIG_WDT_501
#ifdef CONFIG_WDT_501
_PCI
ret
=
misc_register
(
&
temp_miscdev
);
if
(
ret
)
{
printk
(
KERN_ERR
PFX
"can't misc_register (temp) on minor=%d
\n
"
,
TEMP_MINOR
);
...
...
@@ -562,7 +562,7 @@ static int __init wdtpci_init_one (struct pci_dev *dev,
out:
return
ret
;
#ifdef CONFIG_WDT_501
#ifdef CONFIG_WDT_501
_PCI
out_rbt:
unregister_reboot_notifier
(
&
wdtpci_notifier
);
#endif
...
...
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