changeset 892:5aa344b8f1a9

* cdl/watchdog.cdl: Watchdog implementation requirement should be in package, not interface itself. *Note* must be requires, not active_if otherwise turning off the emulated watchdog means you can never turn it on again!
author jlarmour
date Wed, 02 Apr 2003 12:33:55 +0000
parents 2c4f424f4f97
children df70092e27e2
files packages/io/watchdog/current/ChangeLog packages/io/watchdog/current/cdl/watchdog.cdl
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/io/watchdog/current/ChangeLog
+++ b/packages/io/watchdog/current/ChangeLog
@@ -1,3 +1,10 @@
+2003-04-02  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* cdl/watchdog.cdl: Watchdog implementation requirement should be
+	in package, not interface itself. *Note* must be requires, not
+	active_if otherwise turning off the emulated watchdog means you
+	can never turn it on again!
+
 2000-05-31  Jesper Skov  <jskov@redhat.com>
 
 	* tests/watchdog.cxx: fix comment.
--- a/packages/io/watchdog/current/cdl/watchdog.cdl
+++ b/packages/io/watchdog/current/cdl/watchdog.cdl
@@ -53,6 +53,7 @@ cdl_package CYGPKG_IO_WATCHDOG {
     display       "Watchdog IO device"
     define_header watchdog.h
     include_dir   cyg/io
+    requires      1 == CYGINT_WATCHDOG_IMPLEMENTATIONS
     description   "
 	The watchdog IO device allows applications to make use of a
 	timer facility. Depending on the underlying hardware device
@@ -73,7 +74,6 @@ cdl_package CYGPKG_IO_WATCHDOG {
     cdl_interface CYGINT_WATCHDOG_IMPLEMENTATIONS {
         display       "Number of watchdog implementations"
         no_define
-        requires      1 == CYGINT_WATCHDOG_IMPLEMENTATIONS
     }
 
     cdl_component CYGPKG_IO_WATCHDOG_IMPLEMENTATION {