changeset 1341:d43f5e29476a

Allow disk operations on other than IDE devices
author gthomas
date Sat, 01 Nov 2003 09:08:34 +0000
parents f18f448991bc
children 29a9bb078679
files packages/redboot/current/ChangeLog packages/redboot/current/cdl/redboot.cdl
diffstat 2 files changed, 17 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/redboot/current/ChangeLog
+++ b/packages/redboot/current/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-01  Gary Thomas  <gary@mlbassoc.com>
+
+	* cdl/redboot.cdl: Reorg to allow disk operations on other than
+	IDE drives.
+
 2003-10-23  Gary Thomas  <gary@mlbassoc.com>
 
 	* src/main.c (cyg_start): Try to catch illegal memory accesses and
--- a/packages/redboot/current/cdl/redboot.cdl
+++ b/packages/redboot/current/cdl/redboot.cdl
@@ -843,11 +843,19 @@ cdl_package CYGPKG_REDBOOT {
             display       "Allow RedBoot to support disks"
             flavor        bool
             default_value 1
-            active_if     { CYGINT_HAL_PLF_IF_IDE != 0 }
             description   "
               If this option is enabled then RedBoot will provide commands
               to load disk files."
-            compile -library=libextras.a fs/disk.c
+
+            cdl_option CYGSEM_REDBOOT_DISK {
+                display   "Include Redboot commands for disk access"
+                default_value { CYGINT_REDBOOT_DISK_DRIVERS != 0 }
+                compile -library=libextras.a fs/disk.c
+            }
+
+            cdl_interface CYGINT_REDBOOT_DISK_DRIVERS {
+                display  "Hardware drivers for disk-type devices"
+            }
     
             cdl_option CYGNUM_REDBOOT_MAX_DISKS {
                 display       "Maximum number of supported disks"
@@ -869,9 +877,11 @@ cdl_package CYGPKG_REDBOOT {
                 display       "Support IDE disks."
                 flavor        bool
                 default_value 1
+                active_if     { CYGINT_HAL_PLF_IF_IDE != 0 }
                 description "
                   When this option is enabled, RedBoot will support IDE disks."
                 compile -library=libextras.a fs/ide.c
+                implements    CYGINT_REDBOOT_DISK_DRIVERS
             }
     
             cdl_component CYGSEM_REDBOOT_DISK_EXT2FS {