changeset 457:a3677f97d816

Only enable devices which exist.
author gthomas
date Tue, 10 Dec 2002 15:40:20 +0000
parents 2842412ce230
children f615c6e30a25
files packages/devs/serial/powerpc/quicc/current/ChangeLog packages/devs/serial/powerpc/quicc/current/cdl/ser_quicc_smc.cdl
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packages/devs/serial/powerpc/quicc/current/ChangeLog
+++ b/packages/devs/serial/powerpc/quicc/current/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-10  Gary Thomas  <gthomas@ecoscentric.com>
+
+	* cdl/ser_quicc_smc.cdl: Only enable devices which exist - as described
+	by the HAL/CDL interfaces.
+
 2001-11-30  Jonathan Larmour  <jlarmour@redhat.com>
 2001-11-29  Christoph Csebits  <christoph.csebits@frequentis.com>
 
--- a/packages/devs/serial/powerpc/quicc/current/cdl/ser_quicc_smc.cdl
+++ b/packages/devs/serial/powerpc/quicc/current/cdl/ser_quicc_smc.cdl
@@ -9,6 +9,7 @@
 ## -------------------------------------------
 ## This file is part of eCos, the Embedded Configurable Operating System.
 ## Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
+## Copyright (C) 2002 Gary Thomas
 ##
 ## eCos is free software; you can redistribute it and/or modify it under
 ## the terms of the GNU General Public License as published by the Free
@@ -76,6 +77,7 @@ cdl_package CYGPKG_IO_SERIAL_POWERPC_QUI
 cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_SMC1 {
     display       "PowerPC QUICC/SMC serial port 1 driver"
     flavor        bool
+    requires      CYGNUM_HAL_QUICC_SMC1
     default_value 1
     description   "
         This option includes the serial device driver for the PowerPC 
@@ -166,6 +168,7 @@ cdl_component CYGPKG_IO_SERIAL_POWERPC_Q
 cdl_component CYGPKG_IO_SERIAL_POWERPC_QUICC_SMC_SMC2 {
     display       "PowerPC QUICC/SMC serial port 2 driver"
     flavor        bool
+    requires      CYGNUM_HAL_QUICC_SMC2
     default_value 1
     description   "
         This option includes the serial device driver for the PowerPC