]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/devs/can/loop/v2_0/cdl/can_loop.cdl
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / devs / can / loop / v2_0 / cdl / can_loop.cdl
index 03ef1c46d8776f07c46d31ed55afa0e57734e701..87a989836a8616539a82c54d11bf4ffb4ffdf43b 100644 (file)
@@ -49,7 +49,7 @@
 #
 # ====================================================================
 
-cdl_package CYGPKG_IO_CAN_LOOP {
+cdl_package CYGPKG_DEVS_CAN_LOOP {
     display       "Loop CAN device drivers"
 
     parent        CYGPKG_IO_CAN_DEVICES
@@ -66,11 +66,14 @@ cdl_package CYGPKG_IO_CAN_LOOP {
     # Support up to two CAN loop device.
     for { set ::loopcan 0 } { $::loopcan < 2 } { incr ::loopcan } {
     
-    cdl_component CYGPKG_IO_CAN_LOOP_CAN[set ::loopcan] {
+    cdl_component CYGPKG_DEVS_CAN_LOOP_CAN[set ::loopcan] {
         display       "LOOP CAN channel [set ::loopcan] driver"
         flavor        bool
         default_value 0
         implements    CYGINT_IO_CAN_TIMESTAMP
+        implements    CYGINT_IO_CAN_TX_EVENTS
+        implements    CYGINT_IO_CAN_STD_CAN_ID
+        implements    CYGINT_IO_CAN_EXT_CAN_ID
         description   "
             This option includes the CAN loop device driver for channel [set ::loopcan]." 
     
@@ -116,7 +119,7 @@ cdl_package CYGPKG_IO_CAN_LOOP {
     }
     
 
-    cdl_component CYGPKG_IO_CAN_LOOP_OPTIONS {
+    cdl_component CYGPKG_DEVS_CAN_LOOP_OPTIONS {
         display "CAN device driver build options"
         flavor  none
         description   "
@@ -124,33 +127,11 @@ cdl_package CYGPKG_IO_CAN_LOOP {
            compiler flags used only in building this package,
            and details of which tests are built."
 
-
-        cdl_option CYGPKG_IO_CAN_LOOP_CFLAGS_ADD {
-            display "Additional compiler flags"
-            flavor  data
-            no_define
-            default_value { "" }
-            description   "
-                This option modifies the set of compiler flags for
-                building these CAN device drivers. These flags
-                are used in addition to the set of global flags."
-        }
-
-        cdl_option CYGPKG_IO_CAN_LOOP_CFLAGS_REMOVE {
-            display "Suppressed compiler flags"
-            flavor  data
-            no_define
-            default_value { "" }
-            description   "
-                This option modifies the set of compiler flags for
-                building these CAN device drivers. These flags are
-                removed from the set of global flags if present."
-        }
         
-        cdl_option CYGPKG_IO_CAN_LOOP_TESTS {
+        cdl_option CYGPKG_DEVS_CAN_LOOP_TESTS {
             display "CAN loop device driver tests"
             flavor  data
-            calculated { "tests/can_rdwr tests/can_timeout tests/can_txevent tests/can_overrun1 tests/can_overrun2 tests/can_nonblock"}         
+            calculated { "tests/can_rdwr tests/can_timeout tests/can_txevent tests/can_overrun1 tests/can_overrun2 tests/can_nonblock tests/can_callback" }         
             description   "
                 This option specifies the set of tests for the CAN loop device drivers."
         }