diff options
Diffstat (limited to 'Documentation/watchdog')
-rw-r--r-- | Documentation/watchdog/watchdog-api.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/watchdog/watchdog-api.txt b/Documentation/watchdog/watchdog-api.txt index 958ff3d48be3..7e8ae83e9847 100644 --- a/Documentation/watchdog/watchdog-api.txt +++ b/Documentation/watchdog/watchdog-api.txt | |||
@@ -45,7 +45,7 @@ daemon and it crashes the system will not reboot. Because of this, | |||
45 | some of the drivers support the configuration option "Disable watchdog | 45 | some of the drivers support the configuration option "Disable watchdog |
46 | shutdown on close", CONFIG_WATCHDOG_NOWAYOUT. If it is set to Y when | 46 | shutdown on close", CONFIG_WATCHDOG_NOWAYOUT. If it is set to Y when |
47 | compiling the kernel, there is no way of disabling the watchdog once | 47 | compiling the kernel, there is no way of disabling the watchdog once |
48 | it has been started. So, if the watchdog dameon crashes, the system | 48 | it has been started. So, if the watchdog daemon crashes, the system |
49 | will reboot after the timeout has passed. | 49 | will reboot after the timeout has passed. |
50 | 50 | ||
51 | Some other drivers will not disable the watchdog, unless a specific | 51 | Some other drivers will not disable the watchdog, unless a specific |
@@ -207,7 +207,7 @@ Note that not all devices support these two calls, and some only | |||
207 | support the GETBOOTSTATUS call. | 207 | support the GETBOOTSTATUS call. |
208 | 208 | ||
209 | Some drivers can measure the temperature using the GETTEMP ioctl. The | 209 | Some drivers can measure the temperature using the GETTEMP ioctl. The |
210 | returned value is the temperature in degrees farenheit. | 210 | returned value is the temperature in degrees fahrenheit. |
211 | 211 | ||
212 | int temperature; | 212 | int temperature; |
213 | ioctl(fd, WDIOC_GETTEMP, &temperature); | 213 | ioctl(fd, WDIOC_GETTEMP, &temperature); |
@@ -258,13 +258,13 @@ booke_wdt.c -- PowerPC BookE Watchdog Timer | |||
258 | Timeout default varies according to frequency, supports | 258 | Timeout default varies according to frequency, supports |
259 | SETTIMEOUT | 259 | SETTIMEOUT |
260 | 260 | ||
261 | Watchdog can not be turned off, CONFIG_WATCHDOG_NOWAYOUT | 261 | Watchdog cannot be turned off, CONFIG_WATCHDOG_NOWAYOUT |
262 | does not make sense | 262 | does not make sense |
263 | 263 | ||
264 | GETSUPPORT returns the watchdog_info struct, and | 264 | GETSUPPORT returns the watchdog_info struct, and |
265 | GETSTATUS returns the supported options. GETBOOTSTATUS | 265 | GETSTATUS returns the supported options. GETBOOTSTATUS |
266 | returns a 1 if the last reset was caused by the | 266 | returns a 1 if the last reset was caused by the |
267 | watchdog and a 0 otherwise. This watchdog can not be | 267 | watchdog and a 0 otherwise. This watchdog cannot be |
268 | disabled once it has been started. The wdt_period kernel | 268 | disabled once it has been started. The wdt_period kernel |
269 | parameter selects which bit of the time base changing | 269 | parameter selects which bit of the time base changing |
270 | from 0->1 will trigger the watchdog exception. Changing | 270 | from 0->1 will trigger the watchdog exception. Changing |