summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/watchdogdrv.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-22 14:43:53 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-05-22 14:43:53 +0000
commit0f91b2350dda62d432d60617e480985bb87e103a (patch)
treed239a6f0c45fe75768eaad8158bcdd2b2fb7c40f /cpukit/libcsupport/include/rtems/watchdogdrv.h
parent2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-0f91b2350dda62d432d60617e480985bb87e103a.tar.bz2
2008-05-22 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/include/rtems/watchdogdrv.h: Finish writing comments.
Diffstat (limited to 'cpukit/libcsupport/include/rtems/watchdogdrv.h')
-rw-r--r--cpukit/libcsupport/include/rtems/watchdogdrv.h21
1 files changed, 17 insertions, 4 deletions
diff --git a/cpukit/libcsupport/include/rtems/watchdogdrv.h b/cpukit/libcsupport/include/rtems/watchdogdrv.h
index e7e525d63d..309ebf7b81 100644
--- a/cpukit/libcsupport/include/rtems/watchdogdrv.h
+++ b/cpukit/libcsupport/include/rtems/watchdogdrv.h
@@ -39,17 +39,30 @@ extern "C" {
* should be initialized as DISABLED since BSP initialization may
* take longer than the timeout period for the watchdog.
*
- * @param[in] ma
+ * @param[in] major is the watchdog device major number
+ * @param[in] minor is the watchdog device minor number
+ * @param[in] arguments points to device driver arguments
+ */
rtems_device_driver Watchdog_initialize(
rtems_device_major_number major,
rtems_device_minor_number minor,
void *arguments
);
+/**
+ * @brief Watchdog Driver IO Control
+ *
+ * This method implements the IO Control device driver entry
+ * point for the watchdog hardware device.
+ *
+ * @param[in] major is the watchdog device major number
+ * @param[in] minor is the watchdog device minor number
+ * @param[in] arguments points to device driver arguments
+ */
rtems_device_driver Watchdog_control(
- rtems_device_major_number major,
- rtems_device_minor_number minor,
- void *pargp
+ rtems_device_major_number major,
+ rtems_device_minor_number minor,
+ void *arguments
);
#ifdef __cplusplus