#####ECOSGPLCOPYRIGHTBEGIN####
## -------------------------------------------
## This file is part of eCos, the Embedded Configurable Operating System.
-## Copyright (C) 2003 Savin Zlobec
+## Copyright (C) 2003 Savin Zlobec
+## Copyright (C) 2004 eCosCentric Limited
##
## 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
active_if CYGPKG_IO_DISK
active_if CYGPKG_HAL_SYNTH
+ define_proc {
+ puts $::cdl_system_header "/***** Synthdisk driver proc output start *****/"
+ puts $::cdl_system_header "#define CYGDAT_DEVS_DISK_CFG <pkgconf/devs_disk_ecosynth.h>"
+ puts $::cdl_system_header "/***** Synthdisk driver proc output end *****/"
+ }
+
cdl_component CYGVAR_DEVS_DISK_ECOSYNTH_DISK0 {
display "Provide disk 0 device"
flavor bool
cdl_option CYGDAT_IO_DISK_ECOSYNTH_DISK0_NAME {
display "Device name for ecosynth disk 0 device"
flavor data
- default_value {"\"/dev/disk0/\""}
+ default_value {"\"/dev/hd0/\""}
description "This is the device name used to access this
device in eCos. Note that the trailing slash
character must be present."
the set of global flags if present."
}
}
+
+ cdl_component CYGPKG_DEVS_DISK_ECOSYNTH_TESTING {
+ display "Testing configuration"
+ default_value 1
+
+ cdl_option CYGDAT_DEVS_DISK_TEST_DEVICE {
+ display "Test device driver"
+ flavor data
+ default_value {"\"/dev/hd0/1\"" }
+ }
+
+ cdl_option CYGDAT_DEVS_DISK_TEST_MOUNTPOINT {
+ display "Test filesystem mountpoint"
+ flavor data
+ default_value {"\"/dosfs\"" }
+ }
+
+ cdl_option CYGDAT_DEVS_DISK_TEST_DIRECTORY {
+ display "Test directory on test device"
+ flavor data
+ default_value {"\"/test\"" }
+ }
+
+
+ cdl_option CYGDAT_DEVS_DISK_TEST_DEVICE2 {
+ display "Second Test device driver"
+ flavor data
+ default_value {"\"/dev/hd0/2\"" }
+ }
+
+ cdl_option CYGDAT_DEVS_DISK_TEST_MOUNTPOINT2 {
+ display "Second Test filesystem mountpoint"
+ flavor data
+ default_value {"\"/dosfs2\"" }
+ }
+
+ cdl_option CYGDAT_DEVS_DISK_TEST_DIRECTORY2 {
+ display "Test directory on second test device"
+ flavor data
+ default_value {"\"/test\"" }
+ }
+
+ }
+
}